/* ============================================
   NettProAzur — feuille de style principale
   ============================================ */

:root {
  --navy: #1a4869;
  --navy-dark: #123449;
  --blue: #2b9fd9;
  --blue-text: #1a75a8;
  --blue-light: #eaf6fd;
  --bg: #ffffff;
  --bg-alt: #f5f9fb;
  --text: #1c2b33;
  --text-light: #4d616b;
  --border: #e2e8ed;
  --success: #2f9e5f;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(20, 50, 70, 0.08);
  --shadow-hover: 0 8px 30px rgba(20, 50, 70, 0.14);
  --max-width: 1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  line-height: 1.25;
  margin: 0 0 0.6em;
  color: var(--navy-dark);
}

h1 {
  font-size: clamp(2rem, 4vw + 1rem, 3.2rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.5rem, 2vw + 1rem, 2.2rem);
  font-weight: 800;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
  color: var(--text-light);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: clamp(48px, 8vw, 96px) 0;
}

.section-alt {
  background: var(--bg-alt);
}

.eyebrow {
  display: inline-block;
  color: var(--blue-text);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin-bottom: 0.8em;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-head p {
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.9em 1.8em;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 18px rgba(43, 159, 217, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(43, 159, 217, 0.45);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: inherit;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-dark {
  background: var(--navy);
  color: #fff;
}

.btn-dark:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--navy-dark);
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

.logo .logo-accent {
  color: var(--blue-text);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-desktop a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  position: relative;
  padding: 6px 0;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--blue-text);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.phone-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--navy);
  flex-shrink: 0;
  transition: background 0.15s ease, transform 0.15s ease;
}

.phone-link:hover {
  background: var(--blue);
  transform: translateY(-1px);
}

.phone-link:hover svg {
  stroke: #fff;
}

.phone-link svg {
  width: 19px;
  height: 19px;
  stroke: var(--blue);
  transition: stroke 0.15s ease;
}

.has-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dropdown-toggle {
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 6px 0;
}

.has-dropdown:hover .dropdown-toggle,
.has-dropdown:focus-within .dropdown-toggle {
  color: var(--blue-text);
}

.dropdown-toggle::after {
  content: "▾";
  font-size: 0.7em;
  margin-left: 4px;
  color: var(--text-light);
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-hover);
  min-width: 260px;
  padding: 0.5rem;
  margin-top: 10px;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown {
  display: block;
}

.dropdown li a {
  display: block;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
}

.dropdown li a:hover {
  background: var(--blue-light);
  color: var(--blue-text);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-dark);
  margin: 5px 0;
  transition: 0.2s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--border);
  background: #fff;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  padding: 10px 0;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 860px) {
  .nav-desktop,
  .header-cta {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  body {
    padding-bottom: 74px;
  }
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy) 60%, #206a92);
  color: #fff;
  padding: clamp(56px, 10vw, 110px) 0;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 159, 217, 0.35), transparent 70%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: #fff;
}

.hero p.lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.hero-badges {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.hero-badge svg {
  width: 22px;
  height: 22px;
  stroke: var(--blue);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.hero-visual img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.hero-visual-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.hero-visual-badge .icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-visual-badge .icon-badge svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
}

.hero-visual-badge strong {
  display: block;
  color: var(--navy-dark);
  font-size: 0.95rem;
}

.hero-visual-badge span {
  display: block;
  color: var(--text-light);
  font-size: 0.82rem;
}

@media (max-width: 540px) {
  .hero-visual img {
    height: 300px;
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
}

/* ---------- Cards / grid ---------- */

.grid {
  display: grid;
  gap: 1.75rem;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 900px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card .icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.card .icon-badge svg {
  width: 26px;
  height: 26px;
  stroke: var(--blue);
}

.card a.card-link {
  font-weight: 700;
  color: var(--blue-text);
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: 0.5em;
}

/* ---------- Process steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  margin-bottom: 1rem;
}

/* ---------- Zones list ---------- */

.zone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 760px) {
  .zone-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .zone-grid {
    grid-template-columns: 1fr;
  }
}

.zone-chip {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  font-weight: 700;
  color: var(--navy-dark);
}

.zone-chip svg {
  width: 20px;
  height: 20px;
  stroke: var(--blue);
  flex-shrink: 0;
}

/* ---------- Testimonials ---------- */

.testimonial {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.testimonial .stars {
  color: #f5a623;
  letter-spacing: 2px;
  margin-bottom: 0.8rem;
}

.testimonial .author {
  margin-top: 1.2rem;
  font-weight: 700;
  color: var(--navy-dark);
}

.testimonial .author span {
  display: block;
  font-weight: 400;
  color: var(--text-light);
  font-size: 0.88rem;
}

/* ---------- CTA banner ---------- */

.cta-banner {
  background: linear-gradient(120deg, var(--blue), #1f7fb3);
  color: #fff;
  border-radius: 20px;
  padding: clamp(2rem, 5vw, 3.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 0.3em;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
}

/* ---------- FAQ ---------- */

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.4rem 0;
}

.faq-item summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--navy-dark);
  font-size: 1.05rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--blue);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin-top: 0.8rem;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-info-item .icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item .icon-badge svg {
  width: 22px;
  height: 22px;
  stroke: var(--blue);
}

.contact-info-item h3 {
  margin-bottom: 0.2em;
  font-size: 1.05rem;
}

.contact-info-item p {
  margin: 0;
}

form.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 500px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.field {
  margin-bottom: 1.2rem;
}

.field label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--navy-dark);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75em 0.9em;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--text);
  background: #fdfdfd;
  transition: border-color 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 0.8rem;
}

.form-feedback {
  display: none;
  padding: 1em 1.2em;
  border-radius: 8px;
  margin-bottom: 1.2rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.form-feedback.success {
  display: block;
  background: #eafaf1;
  color: var(--success);
  border: 1px solid #bfe9d1;
}

.form-feedback.error {
  display: block;
  background: #fdecec;
  color: #c0392b;
  border: 1px solid #f5c6c6;
}

/* ---------- Mobile floating CTA bar ---------- */

.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(20, 50, 70, 0.1);
  padding: 10px 12px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}

.mobile-cta-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.85em 1em;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
}

.mobile-cta-bar .mobile-cta-call {
  background: var(--blue-light);
  color: var(--navy);
  flex: 0 0 56px;
}

.mobile-cta-bar .mobile-cta-call svg {
  width: 20px;
  height: 20px;
  stroke: var(--blue);
}

.mobile-cta-bar .mobile-cta-quote {
  background: var(--blue-text);
  color: #fff;
}

@media (max-width: 860px) {
  .mobile-cta-bar {
    display: flex;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 2rem;
}

.site-footer p {
  color: inherit;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-grid h3 {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.footer-grid ul li {
  margin-bottom: 0.6rem;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-logo .logo-accent {
  color: var(--blue);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: #fff;
  padding: clamp(48px, 7vw, 76px) 0 clamp(40px, 6vw, 60px);
}

.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.breadcrumb a:hover {
  color: #fff;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 0.4em;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  font-size: 1.05rem;
}

.page-photo-wrap {
  position: relative;
  z-index: 2;
  margin-top: -40px;
}

.page-photo {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(20, 50, 70, 0.25);
}

@media (max-width: 640px) {
  .page-photo {
    height: 220px;
  }
}

/* ---------- Two column content ---------- */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 860px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.check-list svg {
  width: 20px;
  height: 20px;
  stroke: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- Legal pages ---------- */

.legal-content h2 {
  margin-top: 2rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-light);
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.4rem;
  margin-bottom: 1em;
}

.legal-content li {
  margin-bottom: 0.4em;
}

/* ---------- Utilities ---------- */

.text-center {
  text-align: center;
}

.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  z-index: 1000;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}
