/* Karine Lafforgue — Podologue Cap d'Agde
   Feuille de style des pages de contenu (semelles / posturologie).
   Reprend les tokens de la page d'accueil. */

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

:root {
  --sand:     #F5EEE4;
  --sand-2:   #EDE3D5;
  --terracota:#C4704A;
  --terra-dk: #A05535;
  --stone:    #8A7B6E;
  --dark:     #2A2320;
  --mid:      #5C4F47;
  --white:    #FDFAF6;
  --serif:    'Cormorant Garamond', Georgia, serif;
  --sans:     'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius:   12px;
  --shadow:   0 4px 24px rgba(42,35,32,.10);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); background: var(--white); color: var(--dark); font-size: 16px; line-height: 1.7; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; color: var(--dark); }
h1 { font-size: clamp(1.85rem, 4.6vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.15rem); margin-bottom: 16px; }
h3 { font-size: clamp(1.08rem, 2.4vw, 1.32rem); margin-bottom: 8px; }
p  { color: var(--mid); margin-bottom: 14px; }
p:last-child { margin-bottom: 0; }
strong { color: var(--dark); font-weight: 600; }
section { padding: 60px 0; }

.section-label { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--terracota); margin-bottom: 12px; }

/* Liens dans le texte */
.prose a, .faq-a a, .zones-block a { color: var(--terra-dk); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover, .faq-a a:hover, .zones-block a:hover { color: var(--terracota); }

/* BOUTONS */
.btn-primary { display: inline-flex; align-items: center; gap: 10px; background: var(--terracota); color: #fff; font-weight: 600; font-size: .95rem; padding: 15px 26px; border-radius: 50px; transition: background .2s, transform .15s, box-shadow .2s; box-shadow: 0 4px 18px rgba(196,112,74,.35); }
.btn-primary:hover { background: var(--terra-dk); transform: translateY(-2px); }
.btn-secondary { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--terra-dk); font-weight: 600; font-size: .95rem; padding: 13px 24px; border-radius: 50px; border: 2px solid var(--terracota); transition: background .2s, color .2s; }
.btn-secondary:hover { background: var(--terracota); color: #fff; }
.btn-light { display: inline-flex; align-items: center; gap: 10px; background: var(--white); color: var(--terra-dk); font-weight: 600; font-size: .95rem; padding: 14px 26px; border-radius: 50px; border: 2px solid rgba(255,255,255,.55); transition: background .2s, color .2s; }
.btn-light:hover { background: var(--terra-dk); color: #fff; }

/* HEADER */
header { position: sticky; top: 0; z-index: 900; background: var(--white); border-bottom: 1px solid rgba(138,123,110,.12); padding: 10px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo-img { height: 60px; width: auto; }
.header-phone a { display: inline-flex; align-items: center; gap: 8px; background: var(--terracota); color: #fff; font-weight: 600; font-size: .9rem; padding: 10px 18px; border-radius: 50px; transition: background .2s; }
.header-phone a:hover { background: var(--terra-dk); }
.header-phone .phone-num { font-size: 1rem; font-weight: 700; }
@media(max-width:480px){ .logo-img { height: 46px; } .header-phone a { padding: 9px 14px; } .header-phone .phone-num { font-size: .9rem; } }

/* FIL D'ARIANE */
.breadcrumb { background: var(--sand); border-bottom: 1px solid rgba(138,123,110,.12); padding: 11px 0; font-size: .82rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--mid); }
.breadcrumb li { display: inline-flex; align-items: center; min-height: 24px; }
.breadcrumb a { color: var(--terra-dk); font-weight: 500; display: inline-flex; align-items: center; min-height: 24px; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb li[aria-current] { color: var(--mid); }
.breadcrumb .sep { color: var(--stone); opacity: .6; }

/* HERO */
.page-hero { background: linear-gradient(135deg, var(--sand) 0%, var(--sand-2) 60%, #E8D5C0 100%); padding: 54px 0 58px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; right: -140px; top: -100px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(196,112,74,.12) 0%, transparent 70%); pointer-events: none; }
.page-hero > .container { position: relative; z-index: 2; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; background: rgba(196,112,74,.12); color: var(--terra-dk); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 7px 15px; border-radius: 50px; margin-bottom: 18px; }
.page-hero h1 { margin-bottom: 16px; }
.hero-sub { font-size: 1.05rem; color: var(--mid); margin-bottom: 26px; line-height: 1.65; max-width: 680px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* TEXTE COURANT */
.prose h2 { margin-top: 4px; }
.prose h3 { margin-top: 24px; }
.prose ul { list-style: none; margin: 14px 0 18px; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--mid); }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--terracota); }
.alt { background: var(--sand); }

/* CARTES */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); gap: 20px; margin-top: 28px; }
.card { background: var(--white); border: 1px solid rgba(138,123,110,.16); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.alt .card { background: #fff; }
.card-num { font-family: var(--serif); font-size: 1.5rem; color: var(--terracota); font-weight: 700; margin-bottom: 6px; }
.card p { font-size: .95rem; }

/* COMPARATIF */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 26px; }
@media(max-width:700px){ .compare { grid-template-columns: 1fr; } }
.compare-col { border-radius: var(--radius); padding: 24px; border: 1px solid rgba(138,123,110,.18); background: #fff; }
.compare-col.highlight { border-color: rgba(196,112,74,.45); background: linear-gradient(180deg, rgba(196,112,74,.06), #fff); }
.compare-col h3 { margin-bottom: 12px; }
.compare-col ul { list-style: none; }
.compare-col li { position: relative; padding-left: 24px; margin-bottom: 9px; font-size: .94rem; color: var(--mid); }
.compare-col li::before { content: '—'; position: absolute; left: 0; color: var(--stone); }
.compare-col.highlight li::before { content: '✓'; color: var(--terracota); font-weight: 700; }

/* ENCART */
.callout { background: linear-gradient(135deg, var(--terracota), var(--terra-dk)); color: #fff; border-radius: var(--radius); padding: 30px; margin-top: 30px; }
.callout h3, .callout p { color: #fff; }
.callout p { color: rgba(255,255,255,.92); }
.callout .btn-light { margin-top: 18px; }

/* ZONES */
.zones-block { margin-top: 22px; }
.zones-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.zone-pill { background: rgba(196,112,74,.10); color: var(--terra-dk); font-size: .84rem; font-weight: 500; padding: 7px 14px; border-radius: 50px; }

/* CONTACT */
.contact-card { background: #fff; border: 1px solid rgba(138,123,110,.18); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.contact-card h3 { margin-bottom: 16px; }
.contact-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 15px; font-size: .94rem; color: var(--mid); }
.contact-item:last-child { margin-bottom: 0; }
.contact-item svg { flex: 0 0 18px; color: var(--terracota); margin-top: 3px; }
.contact-item strong { display: block; color: var(--dark); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 2px; }
.contact-item a { color: var(--terra-dk); font-weight: 600; }
.local-inner { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: start; }
@media(max-width:820px){ .local-inner { grid-template-columns: 1fr; gap: 28px; } }

/* FAQ — réponses toujours visibles */
.faq-list { margin-top: 26px; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid rgba(138,123,110,.18); border-radius: var(--radius); padding: 22px 24px; }
.alt .faq-item { background: var(--white); }
.faq-item h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 600; color: var(--dark); margin-bottom: 8px; line-height: 1.45; }
.faq-a p { font-size: .95rem; margin-bottom: 10px; }

/* CTA */
.cta-section { background: linear-gradient(135deg, var(--terracota) 0%, var(--terra-dk) 100%); color: #fff; text-align: center; }
.cta-section h2, .cta-section p { color: #fff; }
.cta-section p { color: rgba(255,255,255,.92); max-width: 640px; margin: 0 auto 26px; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* FOOTER */
footer { background: var(--dark); color: rgba(253,250,246,.72); padding: 52px 0 26px; font-size: .9rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; padding-bottom: 30px; border-bottom: 1px solid rgba(253,250,246,.14); }
@media(max-width:760px){ .footer-top { grid-template-columns: 1fr; gap: 26px; } }
.footer-logo { height: 58px; width: auto; margin-bottom: 14px; background: var(--white); border-radius: 8px; padding: 5px 8px; }
footer p { color: rgba(253,250,246,.72); margin-bottom: 5px; }
footer h4 { font-family: var(--serif); font-size: 1.08rem; color: var(--white); margin-bottom: 12px; font-weight: 600; }
.footer-col a { display: block; color: rgba(253,250,246,.72); margin-bottom: 8px; transition: color .2s; }
.footer-col a:hover { color: var(--terracota); }
.footer-phone-big { display: inline-flex; align-items: center; gap: 8px; color: var(--white) !important; font-weight: 700; font-size: 1.12rem; margin-top: 10px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding-top: 20px; font-size: .84rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: rgba(253,250,246,.72); }
.footer-links a:hover { color: var(--terracota); }

/* STICKY MOBILE */
.sticky-bar { display: none; }
@media(max-width:780px){
  .sticky-bar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 950; box-shadow: 0 -3px 16px rgba(42,35,32,.18); }
  .sticky-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 14px 8px; font-weight: 700; font-size: .93rem; }
  .sticky-call { background: var(--terracota); color: #fff; }
  .sticky-rdv { background: var(--dark); color: #fff; }
  body { padding-bottom: 56px; }
}

/* BANNIÈRE COOKIES — identique à l'accueil */
#cookie-banner { display: none; position: fixed; bottom: 20px; left: 20px; right: 20px; max-width: 520px; background: var(--white); border: 1px solid rgba(138,123,110,.15); border-radius: 20px; padding: 24px 28px; box-shadow: 0 8px 40px rgba(42,35,32,.14); z-index: 2000; }
@media(max-width:600px){ #cookie-banner { left: 10px; right: 10px; bottom: 80px; } }
#cookie-banner.show { display: block; }
#cookie-banner p { font-size: .85rem; color: var(--mid); margin-bottom: 18px; line-height: 1.6; }
.cookie-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-btns button { flex: 1; min-width: 120px; padding: 11px 18px; border-radius: 50px; border: none; font-family: var(--sans); font-weight: 600; font-size: .85rem; cursor: pointer; transition: background .2s; }
#cookie-accept { background: var(--terracota); color: #fff; }
#cookie-refuse { background: var(--sand); color: var(--mid); }
