/* === Cabinet Thomas Berger — Ostéopathe D.O. Nantes === */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1a2744;
  --navy-mid: #243360;
  --navy-light: #2e4080;
  --amber: #c9924a;
  --amber-dark: #b07a38;
  --amber-light: #daa968;
  --amber-pale: #f6ead9;
  --ivory: #faf8f3;
  --warm-gray: #ede9e2;
  --slate: #6b7a8d;
  --text: #1c2535;
  --border: #ddd6cc;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(26,39,68,.08);
  --shadow-lg: 0 12px 48px rgba(26,39,68,.18);
  --radius: 12px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }
body { font-family: 'Outfit', sans-serif; color: var(--text); line-height: 1.65; background: var(--white); overflow-x: hidden; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 8px; font-weight: 600;
  font-size: .9rem; cursor: pointer; transition: var(--transition);
  border: 2px solid transparent;
}
.btn-primary { background: var(--amber); color: var(--white); }
.btn-primary:hover { background: var(--amber-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,146,74,.35); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-outline-amber { background: transparent; color: var(--amber); border-color: var(--amber); }
.btn-outline-amber:hover { background: var(--amber); color: var(--white); }
.btn-lg { padding: 17px 38px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* NAVBAR — LIGHT */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(26,39,68,.06);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.logo-icon {
  width: 40px; height: 40px; background: var(--navy); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.1rem;
}
.logo-name { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name strong { font-size: 1rem; font-weight: 700; color: var(--navy); }
.logo-name span { font-size: .68rem; color: var(--slate); font-weight: 500; letter-spacing: .04em; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  color: var(--slate); font-size: .875rem; font-weight: 500;
  padding: 8px 16px; border-radius: 8px; transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); background: var(--ivory); }
.nav-rdv { background: var(--amber) !important; color: var(--white) !important; font-weight: 600 !important; }
.nav-rdv:hover { background: var(--amber-dark) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* HERO — DARK, BOLD */
.hero {
  min-height: 100vh; padding-top: 70px;
  background: var(--navy);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero-bg-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 55% at 75% 50%, rgba(201,146,74,.12) 0%, transparent 65%),
    radial-gradient(ellipse 35% 45% at 5% 85%, rgba(46,64,128,.6) 0%, transparent 60%);
}
.hero .container {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 60px; align-items: center;
  position: relative; z-index: 1;
  padding-top: 60px; padding-bottom: 80px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,146,74,.18); color: var(--amber-light);
  border: 1px solid rgba(201,146,74,.3); border-radius: 6px;
  padding: 5px 14px; font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800; color: var(--white);
  line-height: 1.1; letter-spacing: -.03em; margin-bottom: 22px;
}
.hero h1 span { color: var(--amber-light); }
.hero-sub { font-size: 1rem; color: rgba(255,255,255,.72); margin-bottom: 38px; line-height: 1.75; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.hero-stat {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px; padding: 16px 12px; text-align: center;
}
.stat-val { font-size: 1.6rem; font-weight: 800; color: var(--amber-light); line-height: 1; }
.stat-label { font-size: .7rem; color: rgba(255,255,255,.5); margin-top: 5px; }

/* Hero right */
.hero-right { display: flex; flex-direction: column; gap: 16px; }
.hero-photo-wrap {
  border-radius: var(--radius); overflow: hidden;
  height: 340px; box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.hero-photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-credentials {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px; padding: 20px 22px;
  display: flex; flex-direction: column; gap: 10px;
}
.cred-item { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: rgba(255,255,255,.8); }
.cred-item i { color: var(--amber-light); font-size: .9rem; flex-shrink: 0; }

/* SECTIONS */
.section { padding: 88px 0; }
.bg-ivory { background: var(--ivory); }
.bg-warm { background: var(--warm-gray); }
.bg-navy { background: var(--navy); }
.section-header { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section-header h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; color: var(--navy); margin-bottom: 12px; letter-spacing: -.025em; }
.section-header h2.light { color: var(--white); }
.section-header p { color: var(--slate); font-size: .95rem; line-height: 1.7; }
.section-header p.light { color: rgba(255,255,255,.65); }
.section-label {
  display: block; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--amber); margin-bottom: 10px;
}
.section-label.light { color: var(--amber-light); }

/* POUR QUI */
.pourqui-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.pq-card {
  background: var(--white); border-radius: var(--radius);
  padding: 28px 20px;
  border: 1.5px solid var(--border);
  border-top: 3px solid var(--amber);
  transition: var(--transition); box-shadow: var(--shadow);
}
.pq-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pq-icon {
  width: 52px; height: 52px; border-radius: 10px;
  background: var(--amber-pale); color: var(--amber);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 16px;
}
.pq-card h3 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.pq-card p { font-size: .8rem; color: var(--slate); line-height: 1.6; }

/* PRESTATIONS */
.prestations-list { display: flex; flex-direction: column; gap: 20px; }
.presta-item {
  background: var(--white); border-radius: var(--radius);
  padding: 32px 36px; border: 1.5px solid var(--border);
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 28px; align-items: center;
  box-shadow: var(--shadow); transition: var(--transition);
}
.presta-item:hover { border-color: var(--amber); box-shadow: var(--shadow-lg); }
.presta-num {
  width: 52px; height: 52px; border-radius: 10px;
  background: var(--navy); color: var(--amber-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 800; flex-shrink: 0;
}
.presta-body h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.presta-body p { font-size: .875rem; color: var(--slate); line-height: 1.65; }
.presta-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.presta-tags span { background: var(--amber-pale); color: var(--amber-dark); font-size: .7rem; font-weight: 600; padding: 3px 10px; border-radius: 4px; }
.presta-price { text-align: right; flex-shrink: 0; }
.presta-price .price-val { font-size: 1.5rem; font-weight: 800; color: var(--navy); }
.presta-price .price-label { font-size: .72rem; color: var(--slate); display: block; margin-top: 2px; }

/* PROCESS */
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.proc-step { text-align: center; position: relative; }
.proc-step::after {
  content: ''; position: absolute; top: 26px; left: calc(50% + 28px);
  width: calc(100% - 30px); height: 2px; background: var(--amber-pale);
}
.proc-step:last-child::after { display: none; }
.proc-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--navy); color: var(--amber-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800;
  margin: 0 auto 16px; position: relative; z-index: 1;
  border: 3px solid var(--amber-pale);
}
.proc-step h4 { font-weight: 700; color: var(--navy); margin-bottom: 6px; font-size: .9rem; }
.proc-step p { font-size: .8rem; color: var(--slate); line-height: 1.6; }

/* CABINET APERÇU */
.cabinet-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.cabinet-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cabinet-img-main { grid-column: span 2; border-radius: var(--radius); overflow: hidden; height: 220px; }
.cabinet-img-sub { border-radius: var(--radius); overflow: hidden; height: 150px; }
.cabinet-imgs img { width: 100%; height: 100%; object-fit: cover; }
.cabinet-text h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 800; color: var(--navy); margin-bottom: 16px; letter-spacing: -.02em; }
.cabinet-text > p { color: var(--slate); line-height: 1.75; margin-bottom: 28px; }
.cabinet-features { display: flex; flex-direction: column; gap: 14px; }
.cab-feat { display: flex; gap: 12px; align-items: flex-start; }
.cab-feat-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--amber-pale); color: var(--amber); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: .9rem; }
.cab-feat strong { display: block; font-weight: 700; font-size: .9rem; color: var(--navy); margin-bottom: 2px; }
.cab-feat span { font-size: .82rem; color: var(--slate); }

/* TEMOIGNAGES */
.temo-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.temo-card {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  border: 1.5px solid var(--border); box-shadow: var(--shadow); transition: var(--transition);
}
.temo-card:hover { border-color: var(--amber); box-shadow: var(--shadow-lg); }
.temo-stars { color: var(--amber); margin-bottom: 14px; letter-spacing: 2px; font-size: 1.1rem; }
.temo-text { font-size: .875rem; color: var(--slate); line-height: 1.75; font-style: italic; margin-bottom: 20px; }
.temo-author { display: flex; align-items: center; gap: 12px; }
.author-av {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--amber-pale); color: var(--amber);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem; flex-shrink: 0;
}
.author-name { font-weight: 700; font-size: .875rem; color: var(--text); }
.author-role { font-size: .75rem; color: var(--slate); }

/* CTA BAND */
.cta-band { background: var(--navy); padding: 72px 0; text-align: center; position: relative; overflow: hidden; }
.cta-band::before {
  content: '';
  position: absolute; left: -100px; top: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,146,74,.1) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-band h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; color: var(--white); margin-bottom: 14px; letter-spacing: -.025em; position: relative; z-index: 1; }
.cta-band p { color: rgba(255,255,255,.7); max-width: 520px; margin: 0 auto 36px; line-height: 1.7; position: relative; z-index: 1; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* PAGE HERO */
.page-hero { background: var(--navy); padding: 130px 0 64px; text-align: center; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; color: var(--white); margin-bottom: 14px; letter-spacing: -.02em; }
.page-hero p { color: rgba(255,255,255,.7); max-width: 560px; margin: 0 auto; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; margin-bottom: 18px; font-size: .8rem; color: rgba(255,255,255,.4); }
.breadcrumb a { color: rgba(255,255,255,.4); }
.breadcrumb a:hover { color: var(--amber-light); }
.breadcrumb span { color: var(--amber-light); }

/* PRESTATIONS FULL PAGE */
.presta-detail {
  background: var(--white); border-radius: var(--radius);
  padding: 40px; border: 1.5px solid var(--border);
  box-shadow: var(--shadow); margin-bottom: 24px;
}
.presta-detail-header { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.presta-detail-num {
  width: 60px; height: 60px; border-radius: 12px;
  background: var(--navy); color: var(--amber-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 800; flex-shrink: 0;
}
.presta-detail-header h2 { font-size: 1.4rem; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.presta-detail-header span { font-size: .85rem; color: var(--slate); }
.presta-detail-body { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.presta-detail-body p { font-size: .9rem; color: var(--slate); line-height: 1.75; }
.presta-indicators h4 { font-size: .85rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; }
.presta-indicators ul { list-style: none; }
.presta-indicators li { display: flex; gap: 8px; align-items: flex-start; font-size: .85rem; color: var(--slate); margin-bottom: 8px; }
.presta-indicators i { color: var(--amber); margin-top: 3px; flex-shrink: 0; font-size: .75rem; }

/* CABINET PAGE */
.cabinet-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.cabinet-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cab-img { border-radius: var(--radius); overflow: hidden; }
.cab-img:first-child { grid-column: span 2; height: 240px; }
.cab-img:not(:first-child) { height: 160px; }
.cab-img img { width: 100%; height: 100%; object-fit: cover; }
.cabinet-about h2 { font-size: 1.5rem; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.cabinet-about p { color: var(--slate); line-height: 1.75; margin-bottom: 20px; }
.diplomes { display: flex; flex-direction: column; gap: 12px; }
.diplome-item { display: flex; gap: 12px; align-items: center; background: var(--ivory); border-radius: 10px; padding: 14px 18px; border: 1px solid var(--border); }
.diplome-item i { color: var(--amber); font-size: 1.1rem; flex-shrink: 0; }
.diplome-item span { font-size: .875rem; color: var(--text); font-weight: 500; }

/* CONTACT */
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.contact-info h2 { font-size: 1.75rem; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.contact-info > p { color: var(--slate); margin-bottom: 28px; line-height: 1.75; }
.info-items { display: flex; flex-direction: column; gap: 16px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.ii-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--amber-pale); color: var(--amber); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ii-content strong { display: block; font-weight: 700; margin-bottom: 2px; }
.ii-content span { font-size: .875rem; color: var(--slate); }
.form-box { background: var(--white); border-radius: 20px; padding: 40px; box-shadow: var(--shadow-lg); border: 1.5px solid var(--border); }
.fg { margin-bottom: 18px; }
.fg label { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); margin-bottom: 7px; }
.fg input, .fg select, .fg textarea {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-family: 'Outfit', sans-serif; font-size: .875rem; color: var(--text);
  background: var(--ivory); transition: var(--transition);
}
.fg input:focus, .fg select:focus, .fg textarea:focus { outline: none; border-color: var(--amber); background: var(--white); box-shadow: 0 0 0 3px rgba(201,146,74,.1); }
.fg textarea { resize: vertical; min-height: 120px; }
.fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: .78rem; color: var(--slate); text-align: center; margin-top: 12px; }
.form-note i { color: var(--amber); margin-right: 4px; }

/* FOOTER */
.footer { background: var(--navy); color: rgba(255,255,255,.5); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 24px; }
.footer-brand p { margin-top: 14px; font-size: .875rem; max-width: 250px; line-height: 1.7; }
.footer-col h4 { color: var(--white); font-weight: 700; margin-bottom: 16px; font-size: .9rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: .875rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--amber-light); }
.footer-contact p { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 10px; font-size: .875rem; }
.footer-contact i { color: var(--amber); margin-top: 3px; flex-shrink: 0; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .78rem; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .pourqui-grid { grid-template-columns: repeat(2,1fr); }
  .temo-grid { grid-template-columns: repeat(2,1fr); }
  .presta-item { grid-template-columns: auto 1fr; }
  .presta-price { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cabinet-layout { gap: 40px; }
  .presta-detail-body { grid-template-columns: 1fr; }
  .cabinet-page-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .pourqui-grid { grid-template-columns: 1fr 1fr; }
  .temo-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .proc-step::after { display: none; }
  .cabinet-layout { grid-template-columns: 1fr; }
  .cabinet-imgs { display: none; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .presta-item { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .presta-detail { padding: 28px; }
  .nav-links {
    position: fixed; top: 0; right: -100%; bottom: 0; width: 260px;
    background: var(--white); flex-direction: column;
    padding: 90px 24px 40px; gap: 4px; list-style: none;
    transition: right var(--transition);
    box-shadow: -8px 0 30px rgba(0,0,0,.1);
    border-left: 1px solid var(--border);
  }
  .nav-links.open { right: 0; }
  .nav-links li { width: 100%; }
  .nav-links a { padding: 12px 8px; display: block; border-bottom: 1px solid var(--border); border-radius: 0; }
  .hamburger { display: flex; }
  .fg-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .pourqui-grid, .process-grid { grid-template-columns: 1fr; }
}
