/* CGA Paris — site stylesheet (2026 redesign)
   Brand: navy #10477B, stone #E9D7CB, bronze #8F5E3D. Bodoni Moda + Public Sans. */

:root {
  --navy: #10477B;
  --navy-2: #0E3E6B;
  --navy-deep: #0B3257;
  --stone: #E9D7CB;
  --stone-light: #F6EEE8;
  --line: #EDE3DC;
  --line-strong: #C9AE9C;
  --bronze: #8F5E3D;
  --ink: #1F2933;
  --ink-2: #3E4A55;
  --muted: #56616B;
  --on-navy-muted: #C9D6E3;
  --serif: 'Bodoni Moda', Georgia, 'Times New Roman', serif;
  --sans: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(20px, 6.6vw, 96px);
  --max: 1248px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: #fff; font-size: 17px; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:hover { color: var(--navy-deep); }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; line-height: 1.1; }
p { margin: 0; }
.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 10px 14px; z-index: 50; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons and links */
.btn { display: inline-block; font: 600 15px/1.2 var(--sans); padding: 15px 26px; border-radius: 2px; text-decoration: none; border: 0; cursor: pointer; text-align: center; }
.btn-stone { background: var(--stone); color: var(--navy); }
.btn-stone:hover { background: #F3E8E1; color: var(--navy-deep); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); color: #fff; }
.btn-line { border: 1px solid var(--navy); color: var(--navy); background: #fff; font-size: 14px; padding: 11px 18px; }
.btn-line:hover, .btn-line[aria-current] { background: var(--navy); color: #fff; }
.more { font-weight: 600; font-size: 16px; text-decoration: underline; text-underline-offset: 5px; }
.link-light { color: #fff; font-weight: 600; font-size: 15px; text-underline-offset: 5px; }
.link-light:hover { color: var(--stone); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: relative; z-index: 20; }
.site-header .container { height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: none; padding: 0 clamp(16px, 4.4vw, 64px); }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.brand img { width: 76px; height: 76px; object-fit: contain; }
.brand-name { display: block; font-family: var(--serif); font-size: 22px; color: var(--navy); font-weight: 500; line-height: 1.2; }
.brand-tag { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; }
.nav-main { display: flex; align-items: center; gap: 34px; }
.nav-main a { color: var(--ink); text-decoration: none; font-size: 15px; }
.nav-main a:hover, .nav-main a[aria-current] { color: var(--navy); text-decoration: underline; text-underline-offset: 6px; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.lang { font-size: 13px; color: var(--muted); white-space: nowrap; }
.lang strong { color: var(--navy); }
.lang a { color: var(--muted); text-decoration: none; padding: 6px 2px; }
.lang a:hover { color: var(--navy); text-decoration: underline; }
.menu-mobile { display: none; }
.menu-mobile summary { list-style: none; width: 44px; height: 44px; border: 1px solid var(--navy); border-radius: 2px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.menu-mobile summary::-webkit-details-marker { display: none; }
.menu-mobile .icon-close { display: none; }
.menu-mobile[open] .icon-open { display: none; }
.menu-mobile[open] .icon-close { display: block; }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(16, 71, 123, .08); padding: 8px 20px 24px; display: flex; flex-direction: column; }
.menu-panel a { padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 17px; }
.menu-panel a[aria-current] { color: var(--navy); font-weight: 600; }
.menu-panel .btn { margin-top: 18px; border-bottom: 0; }

@media (max-width: 1180px) {
  .nav-main, .header-actions .btn-line { display: none; }
  .menu-mobile { display: block; }
}
@media (max-width: 640px) {
  .site-header .container { height: 76px; }
  .brand img { width: 54px; height: 54px; }
  .brand-name { font-size: 19px; }
  .brand-tag { display: none; }
}

/* Curved hero (home and inner pages) */
.hero { position: relative; overflow: hidden; background: var(--navy); }
.hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 70%; height: 100%; object-fit: cover; }
.hero-shape { position: absolute; left: 0; top: 0; height: 100%; width: max(55%, 660px); }
.hero-shape path { fill: var(--navy); }
.hero-inner { position: relative; min-height: 700px; display: flex; align-items: center; }
.hero-text { width: min(470px, 34vw); display: flex; flex-direction: column; gap: 26px; padding: 80px 0; }
.hero h1 { color: #fff; font-size: clamp(40px, 4.2vw, 60px); line-height: 1.06; }
.hero .lead { font-size: 18px; line-height: 1.6; color: var(--stone); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; padding-top: 6px; }
.crumbs { font-size: 15px; color: var(--on-navy-muted); }
.crumbs a { color: var(--on-navy-muted); }
.hero-page .hero-inner { min-height: 440px; }
.hero-page .hero-photo { width: 62%; }
.hero-page .hero-text { width: min(580px, 40vw); gap: 20px; padding: 64px 0; }
.hero-page h1 { font-size: clamp(38px, 3.9vw, 56px); }
.hero-client .hero-inner { min-height: 560px; }
.hero-client .hero-photo { width: 52%; }
.hero-client .hero-shape { width: max(63%, 700px); }
.hero-client .hero-text { width: min(600px, 46vw); }
.hero .note { font-size: 14px; color: var(--on-navy-muted); line-height: 1.6; }
.hero-curve-top { display: none; }

@media (max-width: 900px) {
  .hero-photo { position: static; width: 100%; height: 280px; }
  .hero-shape { display: none; }
  .hero-curve-top { display: block; width: 100%; height: 44px; margin-top: -44px; position: relative; }
  .hero-curve-top path { fill: var(--navy); }
  .hero-inner, .hero-page .hero-inner, .hero-client .hero-inner { min-height: 0; }
  .hero-text, .hero-page .hero-text, .hero-client .hero-text { width: 100%; padding: 16px 0 48px; }
  .hero-page .hero-photo, .hero-client .hero-photo { width: 100%; height: 220px; }
  .hero-actions .btn { width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .link-light { text-align: center; padding: 8px; }
}

/* Sections */
.section { padding: clamp(64px, 8vw, 120px) 0; }
.section-stone { background: var(--stone-light); }
.h2 { font-size: clamp(32px, 3.2vw, 46px); color: var(--bronze); }
.h2-sm { font-size: clamp(28px, 2.8vw, 40px); color: var(--bronze); }
.h3 { font-size: clamp(26px, 2.4vw, 34px); color: var(--navy); }
.kicker { font-size: 14px; color: var(--muted); }
.prose { display: flex; flex-direction: column; gap: 22px; max-width: 700px; }
.prose p { font-size: 18px; line-height: 1.75; }

/* Home: services */
.intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px 80px; flex-wrap: wrap; margin-bottom: clamp(48px, 5vw, 72px); }
.intro .h2 { max-width: 560px; }
.intro p { max-width: 520px; color: var(--ink-2); }
.metiers { display: flex; flex-direction: column; gap: clamp(56px, 6vw, 80px); }
.metier { display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 1fr); gap: clamp(32px, 5.5vw, 80px); align-items: center; }
.metier img { width: 100%; aspect-ratio: 640 / 380; object-fit: cover; }
.metier-text { display: flex; flex-direction: column; gap: 16px; max-width: 500px; }
.metier:nth-child(even) img { order: 2; }
.metier:nth-child(even) .metier-text { justify-self: end; }
@media (max-width: 860px) {
  .metier { grid-template-columns: 1fr; }
  .metier:nth-child(even) img { order: 0; }
  .metier img { aspect-ratio: 350 / 220; }
}

/* Home: history */
.timeline { list-style: none; margin: clamp(40px, 4vw, 64px) 0 0; padding: 36px 0 0; border-top: 1px solid var(--line-strong); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px; }
.timeline li { display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.6; }
.timeline .year { font-family: var(--serif); font-size: clamp(34px, 3.6vw, 52px); color: var(--navy); line-height: 1; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line-strong); padding: 0 0 0 22px; gap: 26px; }
}

/* Values + guarantee */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(40px, 6.6vw, 96px); align-items: start; }
.split-wide { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); }
@media (max-width: 900px) { .split, .split-wide { grid-template-columns: 1fr; } }
.values { list-style: none; margin: 28px 0 0; padding: 0; }
.values li { padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 18px; line-height: 1.55; }
.values li:last-child { border-bottom: 0; }
.panel-navy { background: var(--navy); color: #fff; padding: clamp(30px, 3vw, 44px) clamp(24px, 2.8vw, 40px); display: flex; flex-direction: column; gap: 20px; }
.panel-navy h2, .panel-navy h3 { font-size: 28px; color: #fff; }
.panel-navy p { font-size: 15px; line-height: 1.65; color: var(--stone); }
.panel-navy dl { margin: 0; display: flex; flex-direction: column; gap: 14px; font-size: 14px; line-height: 1.5; }
.panel-navy dt { color: var(--on-navy-muted); }
.panel-navy dd { margin: 2px 0 0; }
.panel-navy .sep { padding-top: 20px; border-top: 1px solid #3A6A96; }
.panel-navy a { color: #fff; }
.panel-stone { background: var(--stone-light); padding: 36px 34px; display: flex; flex-direction: column; gap: 16px; }
.panel-line { border: 1px solid var(--line); padding: 30px 34px; display: flex; flex-direction: column; gap: 14px; }
.panel-stone h2, .panel-line h2 { font-size: 26px; color: var(--navy); }
.aside { display: flex; flex-direction: column; gap: 28px; }
.ticks { margin: 0; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.55; }
.facts { margin: 0; display: flex; flex-direction: column; gap: 16px; font-size: 16px; line-height: 1.5; }
.facts dt { font-weight: 600; }
.facts dd { margin: 2px 0 0; color: var(--ink-2); }
.phones { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 16px; font-size: 16px; }
.phones dd { margin: 0; }
.phones a, .tel { font-weight: 600; text-decoration: none; white-space: nowrap; }

/* Navy band with curve (client area) */
.band { position: relative; overflow: hidden; background: var(--navy-2); }
.band-photo { position: absolute; right: 0; top: 0; width: 53%; height: 100%; object-fit: cover; }
.band-shape { position: absolute; left: 0; top: 0; height: 100%; width: 61%; }
.band-shape path { fill: var(--navy-2); }
.band-inner { position: relative; min-height: 520px; display: flex; align-items: center; }
.band-text { width: min(600px, 46vw); display: flex; flex-direction: column; gap: 22px; padding: 72px 0; }
.band h2 { font-size: clamp(30px, 3vw, 44px); color: #fff; }
.band p { font-size: 17px; line-height: 1.7; color: var(--stone); }
.band-sm .band-inner { min-height: 380px; }
@media (max-width: 900px) {
  .band-photo { position: static; width: 100%; height: 220px; }
  .band-shape { display: none; }
  .band-inner, .band-sm .band-inner { min-height: 0; }
  .band-text { width: 100%; padding: 36px 0 48px; }
  .band .btn { width: 100%; }
}

/* Listings callout, client area lists */
.doc-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin-top: 22px; }
.doc-lists ul { list-style: none; margin: 0; padding: 0; }
.doc-lists li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.doc-lists li:last-child { border-bottom: 0; }
.doc-lists .head { font-weight: 600; font-size: 15px; color: var(--muted); }
@media (max-width: 560px) { .doc-lists { grid-template-columns: 1fr; } }
.callout { background: var(--stone-light); padding: 36px 44px; display: flex; justify-content: space-between; align-items: center; gap: 20px 40px; flex-wrap: wrap; }
.callout p { max-width: 760px; }

/* Forms */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form fieldset { grid-column: 1 / -1; margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 20px; }
.form fieldset.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form legend { font-family: var(--serif); font-size: 22px; color: var(--navy); margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select { font: 400 16px/1.4 var(--sans); padding: 12px 14px; border: 1px solid #BFAEA2; border-radius: 2px; background: #fff; color: var(--ink); width: 100%; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--navy); outline-offset: 0; border-color: var(--navy); }
.span-2 { grid-column: span 2; }
.span-all { grid-column: 1 / -1; }
.radios { display: flex; gap: 24px; font-weight: 400; padding-top: 10px; }
.radios label { display: flex; align-items: center; gap: 8px; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 6px; }
.form-note { grid-column: 1 / -1; font-size: 14px; line-height: 1.6; color: var(--muted); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-intro { display: flex; flex-direction: column; gap: 18px; }
.form-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(40px, 6.6vw, 96px); }
@media (max-width: 900px) {
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .form, .form fieldset, .form fieldset.two { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .form-foot .btn { width: 100%; }
}

/* Contact list */
.service-list { margin: 0; display: flex; flex-direction: column; }
.service-list div { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.service-list div:last-child { border-bottom: 0; }
.service-list dt { font-size: 16px; line-height: 1.45; }
.service-list dt span { display: block; font-size: 14px; color: var(--muted); }
.service-list dd { margin: 0; }
.service-list a { font-size: 17px; }

/* Legal and status pages */
.legal { max-width: 780px; display: flex; flex-direction: column; gap: 14px; }
.legal h2 { font-size: 28px; color: var(--navy); margin-top: 26px; }
.legal p { font-size: 16px; line-height: 1.75; }
.status { min-height: 46vh; display: flex; flex-direction: column; justify-content: center; gap: 22px; max-width: 700px; }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--stone); padding: clamp(56px, 6vw, 80px) 0 48px; }
.site-footer a { color: var(--stone); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px 48px; }
.footer-grid h2 { font-family: var(--sans); font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 14px; line-height: 1.4; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer-brand img { width: 84px; height: 84px; object-fit: contain; margin-bottom: 18px; }
.footer-brand p { font-size: 15px; line-height: 1.6; }
.footer-legal { margin-top: 48px; padding-top: 28px; border-top: 1px solid #28507A; font-size: 13px; line-height: 1.6; color: #B9C7D6; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
