/* Surf et Skate Olivier Odéro — feuille de style */

@font-face { font-family: "Anton"; src: url("../fonts/anton.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dmsans.woff2") format("woff2"); font-weight: 100 1000; font-display: swap; }

:root {
  --orange: #EE952F;
  --orange-deep: #C96A10;
  --ocean: #0C2533;
  --ocean-2: #123A4E;
  --sea: #1C7486;
  --foam: #E7F3F4;
  --sand: #F7F0E5;
  --sand-2: #EFE3D0;
  --ink: #15202A;
  --muted: #5B6770;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 18px 40px -18px rgba(12, 37, 51, .45);
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--sand); }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.02; letter-spacing: .01em; text-transform: uppercase; margin: 0; }
h2 { font-size: clamp(2.4rem, 6vw, 4.2rem); margin-bottom: 18px; }
h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--orange-deep); margin-bottom: 14px; }
.section { padding: clamp(64px, 10vw, 120px) 0; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background .15s ease, color .15s ease; cursor: pointer; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-orange { background: var(--orange); color: var(--ocean); }
.btn-orange:hover { background: #F5A84F; }
.btn-ghost { border-color: rgba(255,255,255,.75); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-dark { background: var(--ocean); color: var(--white); }
.btn-dark:hover { background: var(--ocean-2); }
.btn-line { border-color: var(--ocean); color: var(--ocean); }
.btn-line:hover { background: var(--ocean); color: var(--white); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* En-tête */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .25s ease, box-shadow .25s ease; }
.header .wrap { display: flex; align-items: center; gap: 20px; height: 76px; }
.header.solid { background: rgba(12, 37, 51, .96); box-shadow: 0 8px 24px -16px rgba(0,0,0,.6); backdrop-filter: blur(8px); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand img { width: 92px; height: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.brand span { font-family: var(--display); font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1; }
.brand small { display: block; font-family: var(--body); font-size: .72rem; letter-spacing: .14em; opacity: .8; margin-top: 4px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--white); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: rgba(255,255,255,.1); }
.nav .lang { border: 1px solid rgba(255,255,255,.5); font-weight: 700; font-size: .8rem; letter-spacing: .08em; margin-left: 8px; }
.nav .call { background: var(--orange); color: var(--ocean); font-weight: 700; margin-left: 6px; padding: 9px 16px; border-radius: 999px; }
.nav .call:hover { background: #F5A84F; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: var(--white); padding: 8px; cursor: pointer; }
.menu-btn svg { width: 30px; height: 30px; }

/* Héros : deux moitiés, surf et skate */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; color: var(--white); background: var(--ocean); overflow: hidden; }
.hero-half { position: relative; overflow: hidden; }
.hero-half img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: drift 18s ease-in-out infinite alternate; }
.hero-half.surf img { object-position: 60% 50%; }
.hero-half.skate img { object-position: 45% 40%; animation-delay: -9s; }
.hero-half::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,37,51,.55) 0%, rgba(12,37,51,.25) 40%, rgba(12,37,51,.85) 100%); }
.hero-half .tag { position: absolute; bottom: 28px; z-index: 2; font-family: var(--display); font-size: clamp(3rem, 9vw, 7.5rem); line-height: .85; letter-spacing: .02em; opacity: .9; }
.hero-half.surf .tag { left: var(--gutter); }
.hero-half.skate .tag { right: var(--gutter); color: var(--orange); }
.hero-content { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 110px var(--gutter) 140px; pointer-events: none; }
.hero-content > * { pointer-events: auto; }
.hero-content .kicker { font-weight: 700; letter-spacing: .22em; text-transform: uppercase; font-size: .85rem; background: rgba(12,37,51,.55); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.9rem, 8.5vw, 6.6rem); text-shadow: 0 4px 30px rgba(0,0,0,.45); max-width: 14ch; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero p.sub { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 46ch; margin: 18px 0 30px; text-shadow: 0 2px 14px rgba(0,0,0,.6); }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@keyframes drift { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.12) translate(-1.5%, -1%); } }

/* Bande de chiffres */
.facts { background: var(--orange); color: var(--ocean); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.fact { padding: 26px 18px; text-align: center; border-left: 2px solid rgba(12,37,51,.12); }
.fact:first-child { border-left: 0; }
.fact strong { display: block; font-family: var(--display); font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1; letter-spacing: .02em; text-transform: uppercase; }
.fact span { font-weight: 500; font-size: .95rem; }

/* Olivier */
.about .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-photo { position: relative; }
.about-photo img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; }
.about-photo .stamp { position: absolute; right: -18px; bottom: -26px; width: 150px; transform: rotate(-8deg); filter: drop-shadow(0 10px 18px rgba(0,0,0,.35)); }
.motto { font-family: var(--display); font-size: clamp(2rem, 4vw, 2.8rem); text-transform: uppercase; color: var(--sea); margin: 0 0 18px; line-height: 1; }
.about ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.about li { display: flex; gap: 12px; align-items: flex-start; }
.about li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: .55em; border-radius: 50%; background: var(--orange); }

/* Sections disciplines */
.discipline .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.discipline.surf { background: var(--ocean); color: var(--white); }
.discipline.surf .eyebrow { color: var(--orange); }
.discipline.surf .lead { color: #B9CCD5; }
.discipline.skate { background: var(--sand-2); }
.discipline.skate .media { order: 2; }
.media { position: relative; }
.media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media .badge { position: absolute; left: 18px; top: 18px; background: var(--orange); color: var(--ocean); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.levels { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.level { border-radius: var(--radius); padding: 22px; }
.surf .level { background: var(--ocean-2); }
.skate .level { background: var(--white); }
.level h3 { font-size: 1.5rem; margin-bottom: 12px; }
.surf .level h3 { color: var(--orange); }
.skate .level h3 { color: var(--sea); }
.level ul { margin: 0; padding-left: 18px; font-size: .97rem; }
.level li { margin-bottom: 6px; }
.note { margin-top: 18px; font-size: .95rem; }
.surf .note { color: #B9CCD5; }
.skate .note { color: var(--muted); }

/* Tarifs */
.prices { background: var(--sand); }
.prices-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 36px; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.price-card { background: var(--white); border-radius: 20px; padding: clamp(24px, 4vw, 36px); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.price-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 8px; background: var(--sea); }
.price-card.skate::before { background: var(--orange); }
.price-card h3 { font-size: 2.2rem; margin-bottom: 18px; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px dashed #D9CDBB; }
.price-row:last-child { border-bottom: 0; }
.price-row .what { font-weight: 500; }
.price-row .what small { display: block; color: var(--muted); font-weight: 400; font-size: .88rem; }
.price-row .amount { font-family: var(--display); font-size: 1.9rem; white-space: nowrap; color: var(--ocean); }

/* Bon cadeau */
.gift { background: var(--orange); color: var(--ocean); position: relative; overflow: hidden; }
.gift::before { content: ""; position: absolute; width: 620px; height: 620px; right: -180px; top: -220px; border-radius: 50%; border: 70px solid rgba(255,255,255,.14); }
.gift .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: center; position: relative; }
.gift .eyebrow { color: var(--ocean); opacity: .75; }
.gift-preview { background: var(--white); border-radius: var(--radius); padding: 14px; box-shadow: 0 30px 60px -25px rgba(12,37,51,.6); rotate: -2.5deg; }
.gift-formulas { display: grid; gap: 12px; margin: 26px 0; }
.formula { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; background: rgba(255,255,255,.9); border-radius: 12px; padding: 14px 18px; }
.formula b { font-family: var(--display); font-weight: 400; font-size: 1.4rem; letter-spacing: .04em; text-transform: uppercase; color: var(--sea); }
.formula span { font-size: .95rem; }
.formula strong { font-family: var(--display); font-weight: 400; font-size: 1.7rem; }
.gift .ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Galerie */
.gallery { background: var(--ocean); color: var(--white); }
.gallery .eyebrow { color: var(--orange); }
.grid-photos { margin-top: 36px; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 12px; }
.grid-photos button { display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; background: var(--ocean-2); cursor: zoom-in; border-radius: 10px; overflow: hidden; }
.grid-photos button.big { grid-column: span 2; grid-row: span 2; }
.grid-photos img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform .4s ease, opacity .4s ease; }
.grid-photos button:hover img { transform: scale(1.04); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(6, 18, 26, .92); }
.lightbox img { max-width: 96vw; max-height: 86vh; border-radius: 8px; margin: 0 auto; }
.lightbox .lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; color: var(--white); }
.lightbox button { background: rgba(255,255,255,.14); color: var(--white); border: 0; border-radius: 999px; padding: 10px 16px; font: inherit; font-weight: 700; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.26); }
.credit { margin-top: 18px; font-size: .9rem; color: #9DB3BE; }

/* Où */
.where { position: relative; color: var(--white); padding: clamp(80px, 12vw, 150px) 0; overflow: hidden; }
.where > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.where::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,37,51,.9) 0%, rgba(12,37,51,.65) 55%, rgba(12,37,51,.2) 100%); z-index: 1; }
.where .wrap { position: relative; z-index: 2; }
.where .eyebrow { color: var(--orange); }
.where .lead { color: #D6E3E8; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0; max-width: 640px; }
.chip { border: 1.5px solid rgba(255,255,255,.55); border-radius: 999px; padding: 8px 16px; font-weight: 500; }
.chip.main { background: var(--orange); border-color: var(--orange); color: var(--ocean); font-weight: 700; }
.where-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 26px; margin-top: 8px; }
.where-cols h3 { font-size: 1.4rem; color: var(--orange); margin-bottom: 6px; }
.where-cols p { color: #D6E3E8; font-size: .97rem; }

/* Contact */
.contact { background: var(--sand); text-align: center; }
.contact h2 { margin-bottom: 14px; }
.contact .lead { margin: 0 auto 34px; }
.phone-big { display: inline-block; font-family: var(--display); font-size: clamp(2.6rem, 8vw, 5rem); color: var(--ocean); text-decoration: none; letter-spacing: .03em; line-height: 1; margin-bottom: 30px; }
.phone-big:hover { color: var(--orange-deep); }
.contact .ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.socials { display: flex; justify-content: center; gap: 14px; margin-top: 34px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 500; color: var(--ocean); padding: 8px 14px; border-radius: 999px; background: var(--sand-2); }
.socials a:hover { background: var(--orange); }
.socials svg { width: 20px; height: 20px; }

/* Pied de page */
.footer { background: var(--ocean); color: #9DB3BE; padding: 40px 0 110px; font-size: .92rem; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 28px; justify-content: space-between; align-items: center; }
.footer img { width: 84px; }
.footer a { color: #D6E3E8; }
.footer nav { display: flex; flex-wrap: wrap; gap: 18px; }

/* Barre d'action mobile */
.action-bar { display: none; }

/* Page simple (mentions légales) */
.page-simple { background: var(--sand); }
.page-simple .header { position: static; background: var(--ocean); }
.page-simple main { max-width: 760px; margin: 0 auto; padding: 60px var(--gutter) 80px; }
.page-simple h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); margin-bottom: 30px; }
.page-simple h2 { font-size: 1.6rem; margin: 34px 0 10px; }

/* Apparition au défilement */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-half img { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .grid-photos img { transition: none; }
}

/* Tablette */
@media (max-width: 980px) {
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--ocean); padding: 10px var(--gutter) 20px; gap: 2px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 10px; font-size: 1.05rem; }
  .nav .lang, .nav .call { margin: 8px 0 0; text-align: center; }
  .menu-btn { display: block; }
  .header.menu-open { background: var(--ocean); }
  .facts .wrap { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 2px solid rgba(12,37,51,.12); }
}

/* Téléphone */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .brand img { width: 74px; }
  .brand span { font-size: 1rem; }
  .hero { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .hero-half .tag { display: none; }
  .hero-content { padding: 96px var(--gutter) 70px; }
  .about .wrap, .discipline .wrap, .gift .wrap, .price-grid { grid-template-columns: 1fr; }
  .discipline.skate .media { order: 0; }
  .levels { grid-template-columns: 1fr; }
  .about-photo .stamp { width: 104px; right: 10px; bottom: -22px; }
  .where-cols { grid-template-columns: 1fr; }
  .formula { grid-template-columns: 1fr auto; }
  .formula span { grid-column: 1 / -1; grid-row: 2; }
  .grid-photos { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .action-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(12,37,51,.97); box-shadow: 0 -8px 24px -12px rgba(0,0,0,.5); }
  .action-bar .btn { justify-content: center; padding: 13px 10px; }
}
