/* ============================================================
   Location St-Flo — Professionnel · variante (v7)
   ============================================================ */

:root {
  --navy: #0f2c45;
  --ink: #1f2d3d;
  --body: #4b5b6b;
  --accent: #1f6fb2;
  --accent-700: #185a92;
  --accent-50: #eef5fb;
  --line: #e3e8ee;
  --bg: #ffffff;
  --bg-alt: #f5f8fb;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(15, 44, 69, 0.09);
  --font: "Inter", system-ui, -apple-system, sans-serif;
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 16.5px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; color: var(--navy); }

.container { width: min(100% - 2.5rem, 1140px); margin-inline: auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-weight: 600; font-size: 0.95rem; padding: 0.7rem 1.4rem; border-radius: 9px; border: 1.5px solid transparent; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s; }
.btn--lg { padding: 0.85rem 1.7rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-700); }
.btn--outline { background: #fff; color: var(--navy); border-color: var(--line); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--accent-50); }

.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.9rem; }
.eyebrow--light { color: #bfe0fb; }
.link { font-weight: 600; color: var(--accent); font-size: 0.92rem; }
.link:hover { color: var(--accent-700); }

/* Topbar */
.topbar { background: var(--navy); color: #ccdbe8; font-size: 0.82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.5rem 0; flex-wrap: wrap; }
.topbar__contact { display: flex; gap: 1.4rem; }
.topbar a:hover { color: #fff; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
/* les ancres dégagent l'en-tête fixe */
section { scroll-margin-top: 76px; }
.header__inner { display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 0; }
.logo { font-weight: 800; font-size: 1.3rem; color: var(--navy); letter-spacing: -0.02em; }
.logo span { color: var(--accent); }
.menu { display: flex; align-items: center; gap: 1.9rem; }
.menu > a:not(.btn) { font-weight: 500; font-size: 0.95rem; color: var(--body); transition: color 0.2s; }
.menu > a:not(.btn):hover { color: var(--accent); }
.menu__cta { padding: 0.55rem 1.2rem; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 4px; }
.burger span { width: 25px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: 0.3s; }
.burger[aria-expanded="true"] span:nth-child(1){ transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7.5px) rotate(-45deg); }

/* Hero bandeau */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background: url("../assets/img/golfe-saint-florent.jpg") center/cover no-repeat; transform: scale(1.03); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(15,44,69,0.92) 0%, rgba(15,44,69,0.72) 45%, rgba(15,44,69,0.45) 100%); }
.hero__inner { position: relative; z-index: 2; padding: clamp(3.5rem, 8vw, 6.5rem) 0; max-width: 680px; }
.hero__inner h1 { color: #fff; font-size: clamp(2.1rem, 4.8vw, 3.4rem); font-weight: 800; }
.hero__inner p { color: #dce8f2; margin: 1.2rem 0 2rem; font-size: 1.1rem; max-width: 560px; }
.hero__actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* Trust band */
.trust { background: var(--navy); color: #fff; }
.trust__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: 1.6rem 0; }
.trust__item { display: flex; align-items: center; gap: 0.8rem; }
.trust__ico { font-size: 1.5rem; }
.trust__item strong { display: block; font-size: 0.95rem; }
.trust__item small { color: #9fb6c9; font-size: 0.82rem; }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { max-width: 640px; margin-bottom: 2.8rem; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.section__head p { color: var(--body); margin-top: 0.6rem; }

/* Services */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.25s, transform 0.25s; }
.service:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service__img { position: relative; height: 190px; }
.service__img img { width: 100%; height: 100%; object-fit: cover; }
.service__num { position: absolute; top: 12px; left: 12px; width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.92); color: var(--accent); display: grid; place-items: center; font-weight: 800; font-size: 0.95rem; box-shadow: var(--shadow); }
.service__body { padding: 1.4rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; border-top: 3px solid var(--accent); }
.service__body h3 { font-size: 1.25rem; }
.service__body p { color: var(--body); font-size: 0.95rem; }
.ticks { list-style: none; display: flex; flex-direction: column; gap: 0.35rem; margin: 0.2rem 0 0.7rem; }
.ticks li { position: relative; padding-left: 1.3rem; font-size: 0.9rem; color: var(--ink); }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.service .link { margin-top: auto; }

/* Lieux */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.place { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.place img { width: 100%; height: 230px; object-fit: cover; transition: transform 0.5s ease; }
.place:hover img { transform: scale(1.05); }
.place figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 0.9rem 1rem; color: #fff; font-weight: 600; font-size: 0.95rem; background: linear-gradient(180deg, transparent, rgba(15,44,69,0.88)); }

/* Tarifs cards */
.seasons { display: inline-flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; margin: 0 auto 2rem; position: relative; left: 50%; transform: translateX(-50%); }
.seasons button { background: #fff; border: 0; border-right: 1px solid var(--line); cursor: pointer; font-family: var(--font); font-weight: 600; font-size: 0.9rem; color: var(--body); padding: 0.6rem 1.4rem; transition: background 0.2s, color 0.2s; }
.seasons button:last-child { border-right: 0; }
.seasons button.is-active { background: var(--accent); color: #fff; }

.price-cards { align-items: stretch; }
.pcard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.pcard--highlight { border-color: var(--accent); box-shadow: 0 12px 34px rgba(31,111,178,0.18); }
.pcard__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.25rem 0.8rem; border-radius: 100px; }
.pcard h3 { font-size: 1.3rem; }
.pcard__sub { color: var(--body); font-size: 0.88rem; margin-top: 0.2rem; }
.pcard ul { list-style: none; margin: 1.2rem 0; display: flex; flex-direction: column; gap: 0.7rem; }
.pcard li { display: flex; align-items: baseline; justify-content: space-between; gap: 0.8rem; padding-bottom: 0.7rem; border-bottom: 1px dashed var(--line); }
.pcard li:last-child { border-bottom: 0; }
.pcard li span { color: var(--body); font-size: 0.92rem; }
.pcard li b { font-weight: 800; color: var(--accent); font-size: 1.2rem; white-space: nowrap; }
.pcard__multi li b { font-size: 1rem; }
.pcard__hint { font-size: 0.76rem; color: var(--body); text-align: right; margin: -0.6rem 0 1rem; }
.pcard .btn { margin-top: auto; }
.note { color: var(--body); font-size: 0.88rem; margin-top: 1.4rem; text-align: center; }

/* Lieux cliquables + fenêtre */
.place--clic { cursor: pointer; }
.place--clic:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.place__more { display: inline-block; margin-top: 0.35rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em; background: rgba(255,255,255,0.92); color: var(--navy); padding: 0.18rem 0.7rem; border-radius: 100px; transition: background 0.2s; }
.place--clic:hover .place__more { background: #fff; }

.lieu-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1.2rem; }
.lieu-modal[hidden] { display: none; }
.lieu-modal__backdrop { position: absolute; inset: 0; background: rgba(15,44,69,0.55); backdrop-filter: blur(3px); animation: lm-fade 0.25s ease; }
.lieu-modal__panel { position: relative; z-index: 2; width: min(720px, 100%); max-height: 88vh; overflow: auto; background: #fff; border-radius: 18px; box-shadow: 0 30px 90px rgba(0,0,0,0.4); animation: lm-pop 0.28s cubic-bezier(0.2,0.8,0.2,1); }
.lieu-modal__media img { width: 100%; height: 260px; object-fit: cover; display: block; }
.lieu-modal__body { padding: 1.6rem 1.9rem 2rem; }
.lieu-modal__body h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--navy); margin-bottom: 0.9rem; }
.lieu-modal__body p { color: var(--body); margin-bottom: 0.9rem; }
.lieu-modal__body p:last-child { margin-bottom: 0; }
.lieu-modal__body em { font-style: italic; color: var(--navy); }
.lieu-modal__close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.94); color: var(--navy); font-size: 1.05rem; cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,0.22); }
.lieu-modal__close:hover { background: #fff; }
@keyframes lm-fade { from { opacity: 0; } }
@keyframes lm-pop { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
@media (max-width: 560px) { .lieu-modal__media img { height: 200px; } .lieu-modal__body { padding: 1.2rem 1.3rem 1.6rem; } }

/* Saleccia — histoire */
.saleccia { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2.6rem; align-items: start; }
.saleccia__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: sticky; top: 90px; }
.saleccia__media img { width: 100%; height: 520px; object-fit: cover; display: block; }
.saleccia__text h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 0.3rem 0 1rem; }
.saleccia__text p { color: var(--body); margin-bottom: 0.9rem; }
.saleccia__text p:last-child { margin-bottom: 0; }
.saleccia__text em { font-style: italic; color: var(--navy); }
@media (max-width: 860px) {
  .saleccia { grid-template-columns: 1fr; gap: 1.6rem; }
  .saleccia__media { position: static; }
  .saleccia__media img { height: 260px; }
}

/* Tarifs — liste épurée (alternative) */
.pricelist { max-width: 780px; margin: 0 auto; }
.pl-head { display: grid; grid-template-columns: 1fr 88px 88px; gap: 1rem; padding: 0 0.6rem 0.7rem; border-bottom: 2px solid var(--navy); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--body); }
.pl-head span:nth-child(n+2) { text-align: right; }
.pl-cat { font-size: 1.05rem; color: var(--accent); margin: 1.7rem 0 0.3rem; padding: 0 0.6rem; }
.pl-cat:first-of-type { margin-top: 1.1rem; }
.pl-cat small { color: var(--body); font-weight: 500; font-size: 0.82rem; letter-spacing: 0; }
.pl-row { display: grid; grid-template-columns: 1fr 88px 88px; gap: 1rem; align-items: center; padding: 0.85rem 0.6rem; border-top: 1px solid var(--line); border-radius: 8px; transition: background 0.2s; }
.pl-row:hover { background: var(--accent-50); }
.pl-name { display: flex; flex-direction: column; font-weight: 700; color: var(--navy); }
.pl-name em { font-style: normal; font-weight: 400; color: var(--body); font-size: 0.82rem; margin-top: 0.15rem; }
.pl-p { text-align: right; font-weight: 800; font-size: 1.1rem; color: var(--navy); font-variant-numeric: tabular-nums; }
.pl-p--day { color: var(--accent); }
.pl-foot { max-width: 780px; margin: 1.8rem auto 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.pl-foot span { color: var(--body); font-size: 0.9rem; }
@media (max-width: 520px) {
  .pl-head, .pl-row { grid-template-columns: 1fr 64px 64px; gap: 0.6rem; }
  .pl-p { font-size: 1rem; }
  .pl-foot { flex-direction: column; align-items: stretch; text-align: center; }
  .pl-foot .btn { width: 100%; }
}

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
.contact__info h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.contact__info > p { color: var(--body); margin: 0.8rem 0 1.8rem; }
.contact__list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.contact__list li { display: flex; flex-direction: column; }
.contact__list strong { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--body); margin-bottom: 0.1rem; font-weight: 700; }
.contact__list a:hover { color: var(--accent); }
.contact__form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea { font-family: var(--font); font-size: 0.95rem; padding: 0.7rem 0.9rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(31,111,178,0.14); }
.field textarea { resize: vertical; }
.form-hint { font-size: 0.88rem; color: var(--accent); text-align: center; font-weight: 600; }
.callcard { text-align: center; align-items: stretch; justify-content: center; gap: 0.8rem; }
.callcard__ico { font-size: 2.4rem; line-height: 1; }
.callcard h3 { font-size: 1.5rem; color: var(--navy); }
.callcard > p { color: var(--body); font-size: 0.96rem; margin: 0 auto 0.6rem; max-width: 340px; }
.callcard .btn { width: 100%; font-size: 1.1rem; }

/* Footer */
.footer { background: var(--navy); color: #b6c6d4; padding: 3rem 0 1.5rem; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer__inner p { font-size: 0.9rem; margin-top: 0.6rem; }
.logo--light { color: #fff; display: inline-block; }
.footer__col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; font-size: 0.82rem; }
.footer__alt a:hover { color: #fff; }

/* Responsive */
@media (max-width: 900px) {
  .trust__inner { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .topbar__inner { justify-content: center; text-align: center; }
}
@media (max-width: 680px) {
  .menu { position: fixed; inset: 0 0 0 auto; width: min(80%, 300px); flex-direction: column; justify-content: center; gap: 1.6rem; padding: 2rem; background: #fff; box-shadow: -10px 0 40px rgba(0,0,0,0.12); transform: translateX(100%); transition: transform 0.35s ease; }
  .menu.is-open { transform: translateX(0); }
  .menu > a:not(.btn) { font-size: 1.15rem; }
  .burger { display: flex; }
  .footer__inner { grid-template-columns: 1fr; }
  .topbar__contact { flex-direction: column; gap: 0.2rem; }
}
@media (max-width: 480px) {
  .trust__inner { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
}
