/* ═══════════════════════════════════════════════════
   STYLE.CSS — Florent Hascher · Site complet
   Partagé par toutes les pages
═══════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --terra:      #9b5e3c;
  --terra-deep: #7a4a2e;
  --terra-soft: #c47b55;
  --terra-pale: #f5e8df;
  --sage-pale:  #e8efe9;
  --cream:      #faf6f1;
  --white:      #ffffff;
  --brown:      #4a3728;
  --muted:      #9b8b7e;
  --line:       #e8ddd5;
  --serif: 'Lora', Georgia, serif;
  --sans:  'Nunito', sans-serif;
}

body { font-family: var(--sans); background: var(--cream); color: var(--brown); overflow-x: hidden; -webkit-font-smoothing: antialiased; }

/* ── NAV ── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 500; height: 62px; display: flex; align-items: center; justify-content: space-between; padding: 0 3rem; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 2px 12px rgba(74,55,40,.06); }
.nav-logo { font-family: var(--serif); font-size: 1.05rem; color: var(--brown); text-decoration: none; }
.nav-logo span { color: var(--terra); }
.nav-links { display: flex; align-items: center; gap: 1.8rem; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .8rem; font-weight: 500; letter-spacing: .04em; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--terra); }
.nav-cta { background: var(--terra) !important; color: white !important; padding: .48rem 1.3rem !important; border-radius: 24px; font-weight: 600 !important; }
.nav-cta:hover { background: var(--terra-deep) !important; color: white !important; }
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--brown); border-radius: 2px; }

/* ── LAYOUT ── */
section { padding: 5.5rem 0; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 2.5rem; }
.label { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--terra); font-weight: 600; margin-bottom: .8rem; display: block; }
h2.section-title { font-family: var(--serif); font-size: clamp(1.9rem, 2.8vw, 2.6rem); font-weight: 500; color: var(--brown); line-height: 1.2; margin-bottom: 1rem; }
.section-body { color: var(--muted); font-size: .93rem; line-height: 1.82; font-weight: 400; max-width: 560px; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; border-radius: 24px; font-size: .9rem; font-weight: 600; padding: .85rem 2rem; transition: all .22s; cursor: pointer; border: none; font-family: var(--sans); }
.btn-terra { background: var(--terra); color: white; }
.btn-terra:hover { background: var(--terra-deep); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(155,94,60,.3); }
.btn-soft { background: white; color: var(--terra); border: 1.5px solid var(--terra); }
.btn-soft:hover { background: var(--terra-pale); }
.btn-white { background: white; color: var(--terra); font-weight: 600; border-radius: 24px; }
.btn-white:hover { background: var(--terra-pale); }

/* ── VILLES GRID ── */
.villes-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.2rem; margin-top: 3rem; }
.ville-card { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 1.8rem 1.5rem; text-decoration: none; display: block; transition: all .25s; }
.ville-card:hover { border-color: var(--terra); box-shadow: 0 6px 24px rgba(155,94,60,.12); transform: translateY(-3px); }
.ville-emoji { font-size: 1.5rem; margin-bottom: .9rem; }
.ville-name { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; color: var(--brown); margin-bottom: .2rem; }
.ville-dept { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--terra); margin-bottom: .8rem; font-weight: 600; }
.ville-desc { font-size: .82rem; color: var(--muted); line-height: 1.65; }
.ville-link { display: inline-flex; align-items: center; gap: .3rem; margin-top: 1rem; font-size: .76rem; color: var(--terra); font-weight: 600; }
.ville-link::after { content: '→'; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid rgba(155,94,60,.2); }
.faq-btn { width: 100%; background: none; border: none; text-align: left; padding: 1.1rem 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: var(--serif); font-size: 1rem; font-weight: 500; color: var(--brown); transition: color .2s; }
.faq-btn:hover { color: var(--terra); }
.faq-ico { width: 22px; height: 22px; border-radius: 50%; background: white; color: var(--terra); display: flex; align-items: center; justify-content: center; font-size: .85rem; flex-shrink: 0; transition: all .3s; font-style: normal; box-shadow: 0 1px 4px rgba(155,94,60,.15); }
.faq-answer { display: none; padding-bottom: 1.1rem; font-size: .87rem; color: var(--muted); line-height: 1.75; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-ico { transform: rotate(45deg); background: var(--terra); color: white; }

/* ── CONTACT FORMS ── */
.contact-form-box { background: var(--cream); border: 1px solid var(--line); border-radius: 20px; padding: 2.5rem; }
.form-head { font-family: var(--serif); font-size: 1.3rem; color: var(--brown); margin-bottom: 1.6rem; font-weight: 500; }
.form-group { margin-bottom: 1rem; }
label { display: block; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; font-weight: 600; }
input, select, textarea { width: 100%; padding: .78rem 1rem; border: 1.5px solid var(--line); border-radius: 10px; background: white; color: var(--brown); font-family: var(--sans); font-size: .88rem; transition: border-color .2s; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--terra); }
textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit { width: 100%; padding: .9rem; margin-top: .5rem; background: var(--terra); color: white; border: none; border-radius: 24px; font-family: var(--sans); font-size: .9rem; font-weight: 600; cursor: pointer; transition: all .22s; }
.form-submit:hover { background: var(--terra-deep); }

/* ── CONTACT INTRO ── */
.contact-intro {
  text-align: center;
  max-width: 540px;
  margin: 0 auto 2.5rem;
}
.contact-intro .section-body { margin: 0 auto; }

/* ── CONTACT CHIPS ── */
.contact-chips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.contact-chip {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.2rem 1.5rem;
  transition: border-color .2s;
  text-decoration: none;
  color: inherit;
}
.contact-chip:hover { border-color: var(--terra); }
.contact-chip > span { font-size: 1.5rem; flex-shrink: 0; }
.contact-chip div { display: flex; flex-direction: column; gap: .25rem; }
.contact-chip strong {
  display: block;
  font-size: .7rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--terra);
  font-weight: 600;
}
.contact-chip span:last-child {
  font-size: .95rem;
  color: var(--brown);
  font-weight: 600;
  line-height: 1.4;
}


/* ── SIMPLYBOOK ── */
.simplybook-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(74,55,40,.07);
}
.simplybook-label {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 500;
  padding: 1.4rem 2rem 1.2rem;
  background: var(--terra);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.simplybook-label-ico {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: .1rem;
}
.simplybook-label-text strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: white;
}
.simplybook-label-text small {
  display: block;
  font-family: var(--sans);
  font-size: .78rem;
  color: rgba(255,255,255,.65);
  font-weight: 400;
  margin-top: .3rem;
  line-height: 1.5;
}
/* SimplyBook injecte son propre container après .simplybook-wrap */
#sb_widget,
.simplybook-widget-wrap,
[id^="sb_widget"] {
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 20px 20px !important;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(74,55,40,.07);
}

/* ── INFO ITEMS ── */
.info-items { display: flex; flex-direction: column; gap: 1.2rem; margin-bottom: 2rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-ico { width: 40px; height: 40px; flex-shrink: 0; background: var(--terra-pale); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: .95rem; }
.info-item h4 { font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; font-weight: 600; }
.info-item p { color: var(--brown); font-size: .9rem; font-weight: 500; }
.note-box { background: var(--terra-pale); border-radius: 12px; padding: 1.2rem 1.5rem; font-size: .82rem; color: var(--muted); line-height: 1.68; border-left: 4px solid var(--terra); }

/* ── ENTRAINEMENT SECTION ── */
#entrainement { background: var(--sage-pale); }
.entrainement-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; }
.entrainement-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 2rem 1.5rem; text-decoration: none; display: flex; flex-direction: column; gap: .8rem; transition: all .25s; }
.entrainement-card:hover { border-color: var(--terra); box-shadow: 0 6px 24px rgba(155,94,60,.12); transform: translateY(-3px); }
.entrainement-icon { font-size: 2rem; }
.entrainement-title { font-family: var(--serif); font-size: 1.1rem; font-weight: 500; color: var(--brown); }
.entrainement-desc { font-size: .82rem; color: var(--muted); line-height: 1.6; flex: 1; }
.entrainement-tag { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; color: var(--terra); font-weight: 600; letter-spacing: .04em; }
.entrainement-tag::after { content: '→'; }
.entrainement-badge { display: inline-flex; align-items: center; gap: .4rem; background: var(--terra-pale); color: var(--terra); font-size: .68rem; font-weight: 600; padding: .25rem .7rem; border-radius: 12px; letter-spacing: .06em; text-transform: uppercase; width: fit-content; margin-bottom: .3rem; }

/* ── BREADCRUMB ── */
.breadcrumb { padding: 4.5rem 0 0; }
.breadcrumb-inner { font-size: .78rem; color: var(--muted); display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; padding-top: .8rem; }
.breadcrumb-inner a { color: var(--terra); text-decoration: none; }
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--line); }

/* ── FOOTER ── */
footer { background: var(--brown); padding: 2.5rem 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.footer-brand { font-family: var(--serif); font-size: 1rem; color: rgba(255,255,255,.65); font-weight: 400; text-decoration: none; }
.footer-brand span { color: var(--terra-soft); }
.footer-links { display: flex; gap: 1.8rem; list-style: none; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.35); text-decoration: none; font-size: .76rem; transition: color .2s; }
.footer-links a:hover { color: rgba(255,255,255,.8); }
.footer-legal { font-size: .72rem; color: rgba(255,255,255,.25); line-height: 1.8; text-align: right; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:none; } }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .contact-chips { grid-template-columns: 1fr 1fr; }
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: 62px; left: 0; right: 0; background: white; padding: 2rem; gap: 1.5rem; border-bottom: 1px solid var(--line); box-shadow: 0 4px 12px rgba(74,55,40,.08); }
  .nav-links.open { display: flex; }
  .burger { display: flex; }
  .villes-grid { grid-template-columns: 1fr 1fr; }
  .entrainement-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-legal { text-align: center; }
}
@media (max-width: 520px) {
  .contact-chips { grid-template-columns: 1fr 1fr; }
  .contact-chips { grid-template-columns: 1fr 1fr; }
  .villes-grid { grid-template-columns: 1fr; }
  .container { padding: 0 1.3rem; }
}
