:root {
  --navy: #06294f;
  --navy-deep: #041b35;
  --turquoise: #08b9bf;
  --turquoise-soft: #dff8f8;
  --sand: #f6f4ef;
  --ink: #132238;
  --muted: #5a6778;
  --line: #dce3e8;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(5, 34, 65, .12);
  --radius: 20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.container { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 99;
  background: var(--white); padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; max-width: 255px; }
.brand img { width: 100%; height: auto; }
.nav-toggle { display: none; border: 0; background: transparent; color: var(--navy); font-weight: 700; cursor: pointer; }
.nav-links { display: flex; align-items: center; gap: 22px; font-weight: 700; font-size: .92rem; color: var(--navy); }
.nav-links a:not(.button):hover, .nav-links a[aria-current="page"] { color: var(--turquoise); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 47px; padding: 11px 20px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 800; cursor: pointer; transition: transform .2s ease, background .2s ease, border .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--navy); box-shadow: 0 9px 20px rgba(6,41,79,.18); }
.button-primary:hover { background: #0b3e73; }
.button-light { color: var(--navy); background: var(--white); }
.button-outline { color: var(--navy); background: transparent; border-color: var(--navy); }
.button-outline:hover { background: var(--navy); color: var(--white); }

.hero { position: relative; overflow: hidden; color: var(--white); background: var(--navy-deep); min-height: 570px; display: grid; align-items: center; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,27,53,.95) 0%, rgba(4,27,53,.78) 37%, rgba(4,27,53,.08) 76%); z-index: 1; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-content { position: relative; z-index: 2; max-width: 650px; padding: 92px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--turquoise); }
.hero h1, .page-hero h1 { max-width: 760px; margin: 0; font-size: clamp(2.35rem, 5.4vw, 4.45rem); line-height: 1.04; letter-spacing: -.045em; }
.hero-content > p:not(.eyebrow) { max-width: 580px; margin: 22px 0 30px; font-size: 1.13rem; color: rgba(255,255,255,.92); }
.button-group { display: flex; flex-wrap: wrap; gap: 12px; }

.section { padding: 88px 0; }
.section-soft { background: var(--sand); }
.section-navy { background: var(--navy); color: var(--white); }
.section-heading { max-width: 690px; margin-bottom: 38px; }
.section-heading h2, .split-copy h2, .cta h2 { margin: 0; font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1.14; letter-spacing: -.035em; }
.section-heading p, .split-copy p { color: var(--muted); margin: 15px 0 0; }
.section-navy .section-heading p { color: rgba(255,255,255,.82); }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: 28px; box-shadow: 0 6px 22px rgba(7,32,61,.04); }
.card h3 { margin: 11px 0 10px; color: var(--navy); font-size: 1.22rem; line-height: 1.25; }
.card p { margin: 0; color: var(--muted); }
.card-link { display: block; height: 100%; transition: transform .2s ease, box-shadow .2s ease; }
.card-link:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.number { display: inline-grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: var(--turquoise-soft); color: var(--navy); font-weight: 800; }
.icon { display: inline-grid; width: 48px; height: 48px; place-items: center; border-radius: 13px; background: var(--turquoise-soft); color: var(--navy); font-size: 1.35rem; font-weight: 800; }

.quote-panel { padding: 36px; border-radius: var(--radius); background: linear-gradient(135deg, #07335e, #0a5d82); color: var(--white); }
.quote-panel h2 { margin: 0 0 9px; font-size: 1.8rem; line-height: 1.2; }
.quote-panel p { margin: 0 0 24px; color: rgba(255,255,255,.88); }
.property-choice { text-align: left; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.1); color: var(--white); cursor: pointer; }
.property-choice:hover, .property-choice:focus { background: var(--turquoise); border-color: var(--turquoise); }
.property-choice strong { display: block; font-size: 1.05rem; }
.property-choice span { display: block; font-size: .88rem; opacity: .88; margin-top: 3px; }

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.split-image { min-height: 400px; object-fit: cover; width: 100%; height: 100%; }
.split-copy { padding: 58px; display: flex; flex-direction: column; justify-content: center; }
.split-copy ul { padding-left: 18px; color: var(--muted); }
.split-copy li + li { margin-top: 8px; }

.steps .card { position: relative; padding-top: 31px; }
.steps .card::after { content: ""; position: absolute; top: 50px; right: -22px; width: 22px; height: 1px; background: var(--line); }
.steps .card:last-child::after { display: none; }

.page-hero { padding: 93px 0 75px; color: var(--white); background: linear-gradient(120deg, var(--navy-deep), var(--navy)); }
.page-hero p { max-width: 720px; margin: 20px 0 0; font-size: 1.1rem; color: rgba(255,255,255,.86); }
.page-hero .eyebrow { color: var(--turquoise); }
.prose { max-width: 850px; }
.prose h2 { margin: 52px 0 16px; color: var(--navy); font-size: 1.85rem; line-height: 1.2; }
.prose h3 { margin: 31px 0 8px; color: var(--navy); font-size: 1.25rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.notice { margin-top: 32px; padding: 19px 22px; border-left: 4px solid var(--turquoise); border-radius: 0 10px 10px 0; background: var(--turquoise-soft); color: var(--navy); }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 21px 0; }
.faq summary { cursor: pointer; color: var(--navy); font-weight: 800; list-style: none; padding-right: 28px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 5px; top: -3px; font-size: 1.45rem; font-weight: 400; color: var(--turquoise); }
.faq details[open] summary::after { content: "–"; }
.faq p { max-width: 800px; margin: 12px 0 0; color: var(--muted); }

.cta { padding: 64px; border-radius: var(--radius); background: var(--turquoise-soft); color: var(--navy); }
.cta p { max-width: 670px; margin: 14px 0 25px; color: #31516c; }

.contact-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 42px; align-items: start; }
.contact-points { margin: 27px 0; padding: 0; list-style: none; }
.contact-points li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.form-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
label { color: var(--navy); font-weight: 800; font-size: .92rem; }
input, select, textarea { width: 100%; padding: 12px 13px; border: 1px solid #bdc9d3; border-radius: 8px; color: var(--ink); background: var(--white); }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(8,185,191,.22); border-color: var(--turquoise); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0; font-size: .88rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 3px; }
.form-note { margin: 14px 0 0; color: var(--muted); font-size: .84rem; }

.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.84); padding: 54px 0 23px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-logo { width: min(250px, 100%); padding: 8px; border-radius: 8px; background: var(--white); }
.site-footer h2 { margin: 0 0 12px; color: var(--white); font-size: 1rem; }
.site-footer p { margin: 14px 0 0; max-width: 350px; }
.site-footer ul { padding: 0; margin: 0; list-style: none; }
.site-footer li + li { margin-top: 7px; }
.site-footer a:hover { color: var(--turquoise); }
.footer-bottom { margin-top: 42px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.17); font-size: .83rem; color: rgba(255,255,255,.6); }

/* Grilles de prix des pages par bien */
.price-title { margin: 30px 0 12px; color: var(--navy); font-size: 1.25rem; }
.price-title:first-child { margin-top: 0; }
.price-table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); background: var(--white); }
.price-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
.price-table th, .price-table td { padding: 12px 14px; text-align: center; border-bottom: 1px solid var(--line); }
.price-table thead th { background: var(--navy); color: var(--white); font-size: .85rem; line-height: 1.3; }
.price-table thead th small { display: block; font-weight: 400; opacity: .8; }
.price-table tbody th { text-align: left; color: var(--navy); }
.price-table tbody th small { display: block; font-weight: 400; font-size: .78rem; color: #078a8f; }
.price-table td { font-weight: 800; color: var(--ink); white-space: nowrap; }
.price-table tbody tr:nth-child(even) { background: var(--sand); }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: 0; }
.price-note { margin: 10px 0 0; color: var(--muted); font-size: .88rem; }
.price-cta { margin-top: 26px; }

/* Bandeau cookies (Accepter et Refuser au même niveau, conforme CNIL) */
#cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100; max-width: 560px; margin: 0 auto; padding: 16px 18px; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 16px 40px rgba(4,27,53,.25); border: 1px solid var(--line); font-size: .9rem; }
#cookie-banner p { margin: 0 0 12px; }
#cookie-banner a { text-decoration: underline; color: var(--navy); }
#cookie-banner .cookie-actions { display: flex; gap: 10px; }
#cookie-banner button { flex: 1; padding: 10px 14px; border-radius: 10px; border: 1.5px solid var(--navy); background: #fff; color: var(--navy); font-weight: 800; cursor: pointer; }
#cookie-banner button[data-c="oui"] { background: var(--navy); color: #fff; }

/* Bouton WhatsApp arrondi dans l'en-tête */
.nav-links { order: 2; }
.contact-top { order: 3; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.tel-top { color: var(--navy); font-weight: 800; font-size: .95rem; letter-spacing: .02em; white-space: nowrap; }
.tel-top::before { content: "☎ "; color: var(--turquoise); }
.tel-top:hover { color: var(--turquoise); }
.wa-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: #25d366; color: #fff; font-weight: 800; font-size: .95rem; box-shadow: 0 6px 16px rgba(37, 211, 102, .35); transition: transform .2s ease, background .2s ease; white-space: nowrap; }
.wa-pill:hover { background: #1ebe5b; transform: translateY(-2px); }
.wa-pill svg, .button-whatsapp svg { width: 22px; height: 22px; flex: none; fill: currentColor; }
@media (max-width: 900px) {
  .contact-top { margin-left: auto; padding: 6px 0; }
  .wa-pill { padding: 8px 14px; font-size: .88rem; }
  .nav-toggle { order: 4; }
  .nav-links { order: 5; }
}
@media (max-width: 620px) {
  .nav { gap: 10px; min-height: 64px; }
  .nav .brand { max-width: 132px; }
  .nav .nav-toggle { padding: 4px 0; }
  .wa-pill { padding: 7px 12px; font-size: .82rem; gap: 6px; }
  .wa-pill svg { width: 18px; height: 18px; }
  .tel-top { font-size: .8rem; }
}

@media (max-width: 900px) {
  .nav { min-height: 72px; flex-wrap: wrap; }
  .brand { max-width: 210px; }
  .nav-toggle { display: block; }
  .nav-links { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 16px; }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 10px 0; }
  .nav-links .button { margin-top: 8px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps .card::after { display: none; }
  .split, .contact-layout { grid-template-columns: 1fr; }
  .split-image { max-height: 380px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1140px); }
  .hero { min-height: 610px; }
  .hero::before { background: linear-gradient(90deg, rgba(4,27,53,.94), rgba(4,27,53,.60)); }
  .hero-content { padding: 75px 0; }
  .section { padding: 62px 0; }
  .grid-2, .grid-3, .grid-4, .form-grid { grid-template-columns: 1fr; }
  .card { padding: 23px; }
  .split-copy, .cta, .quote-panel, .form-card { padding: 27px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .page-hero { padding: 68px 0 55px; }
}

/* Photos dans les textes (pages Immeuble, Locaux) */
.prose-photo { display: block; width: 100%; height: auto; margin: 8px 0 18px; border-radius: 14px; }

/* Mobile : les 4 types de bien en 2 x 2, plus compacts */
@media (max-width: 620px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .grid-4 .card { padding: 16px; }
  .grid-4 .card h3 { font-size: 1.02rem; margin: 8px 0 6px; }
  .grid-4 .card p { font-size: .84rem; line-height: 1.4; }
  .grid-4 .icon { width: 38px; height: 38px; font-size: 1.1rem; border-radius: 10px; }
}

/* Menu avec les 4 pages : pas de retour à la ligne sur les écrans moyens */
.nav-links a { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1150px) {
  .nav-links { gap: 14px; font-size: .86rem; }
  .brand { max-width: 190px; }
  .nav-links .button { padding-left: 16px; padding-right: 16px; }
}

/* Modèle 9 (2/12/2026) : échelle typographique 1,25 et espacements de 8 px sur tout le site */
:root { --t-1: .8rem; --t0: 1rem; --t1: 1.25rem; --t2: 1.5625rem; --t3: 1.953rem; --t4: 2.441rem; }
.hero h1, .page-hero h1 { font-size: clamp(1.953rem, 4vw, 2.441rem); line-height: 1.15; letter-spacing: -.025em; font-weight: 700; }
.hero .eyebrow, .page-hero .eyebrow { font-size: .75rem; letter-spacing: .16em; margin-bottom: 16px; }
.hero .eyebrow::before, .page-hero .eyebrow::before { width: 24px; height: 2px; }
.section-heading h2, .split-copy h2, .cta h2 { font-size: clamp(1.5625rem, 2.6vw, 1.953rem); letter-spacing: -.02em; line-height: 1.2; }
.prose h2 { font-size: var(--t2); margin: 48px 0 16px; }
.prose h3 { font-size: var(--t1); }

/* Téléphone (2/12/2026) : en-tête sur une ligne, icônes rondes, plus d'air */
@media (max-width: 620px) {
  .nav { min-height: 56px; gap: 8px; flex-wrap: wrap; }
  .nav .brand { max-width: 128px; }
  .contact-top { flex-direction: row; gap: 8px; padding: 0; }
  .wa-pill { width: 40px; height: 40px; padding: 0; justify-content: center; font-size: 0; gap: 0; box-shadow: none; }
  .wa-pill svg { width: 20px; height: 20px; }
  .tel-top { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--navy); font-size: 0; }
  .tel-top::before { content: "☎"; color: #fff; font-size: 1.1rem; }
  .nav .nav-toggle { font-size: .875rem; padding: 8px 0 8px 4px; }
  .page-hero { padding: 48px 0 40px; }
  .page-hero h1 { font-size: var(--t3); }
  .section { padding: 48px 0; }
  .section-heading h2, .split-copy h2, .cta h2 { font-size: var(--t2); }
}

/* En-tête téléphone et tablette : Menu à gauche, WhatsApp + téléphone groupés à droite (2/12/2026) */
@media (max-width: 620px) {
  .nav { justify-content: flex-start; gap: 12px; }
  .nav .nav-toggle { order: 0; font-size: 0; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; display: inline-flex; align-items: center; justify-content: center; }
  .nav .nav-toggle::before { content: "☰"; font-size: 1.25rem; color: var(--navy); }
  .nav .brand { order: 1; }
  .contact-top { order: 2; margin-left: auto; gap: 12px; }
  .wa-pill { width: 38px; height: 38px; background: #fff; color: #25d366; border: 1.5px solid #25d366; }
  .tel-top { width: 38px; height: 38px; background: #fff; border: 1.5px solid var(--navy); }
  .tel-top::before { color: var(--navy); font-size: 1rem; }
  .nav-links { order: 5; }
}
@media (min-width:621px) and (max-width:900px){
  .nav{justify-content:flex-start;gap:16px}
  .nav .nav-toggle{order:0;font-size:0;width:44px;height:44px;padding:0;border:1px solid var(--line);border-radius:10px;background:#fff;display:inline-flex;align-items:center;justify-content:center}
  .nav .nav-toggle::before{content:"☰";font-size:1.35rem;color:var(--navy)}
  .nav .brand{order:1}
  .contact-top{order:2;margin-left:auto;flex-direction:row;align-items:center;gap:16px}
  .nav-links{order:5}
}
@media (max-width:900px){ .hero h1,.page-hero h1{text-wrap:balance} }
