/* ===== Variables ===== */
:root {
  --navy: #0d2233;
  --navy-2: #143349;
  --sea: #1d6a86;
  --accent: #e8792b;
  --accent-dark: #c9611a;
  --bg: #dce8f0;
  --line: #c5d7e3;
  --text: #1f2a33;
  --muted: #5d6b76;
  --white: #fff;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(13, 34, 51, .12);

  /* Dégradés en attendant les vraies photos */
  --ph-1: linear-gradient(135deg, #1d6a86 0%, #0d2233 100%);
  --ph-2: linear-gradient(135deg, #3d5a40 0%, #1b2d22 100%);
  --ph-3: linear-gradient(135deg, #8a5a32 0%, #2c1c10 100%);
  --ph-4: linear-gradient(135deg, #4b5563 0%, #111827 100%);
  --ph-5: linear-gradient(135deg, #b6652a 0%, #3a1f0d 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: "Oswald", sans-serif; line-height: 1.15; letter-spacing: .01em; }
em { color: var(--muted); font-size: .9em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* ===== Boutons ===== */
.btn {
  display: inline-block;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .15s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-dark); }
.btn--ghost { border: 2px solid rgba(255,255,255,.7); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--navy); }

/* ===== Navigation ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: "Oswald"; font-size: 1.25rem; letter-spacing: .06em; }
.logo img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.logo strong { color: var(--accent); }
.logo__text { line-height: 1.05; }
.logo__text small { display: block; font-size: .72rem; letter-spacing: .32em; opacity: .75; }
.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__links a { text-decoration: none; font-size: .95rem; font-weight: 500; opacity: .9; }
.nav__links a:hover { opacity: 1; color: var(--accent); }
.nav__phone { display: flex; align-items: center; gap: .4rem; background: var(--accent); padding: .45rem .9rem; border-radius: 999px; opacity: 1 !important; }
.nav__phone:hover { color: var(--white) !important; background: var(--accent-dark); }
.nav__phone svg { width: 16px; height: 16px; }
.nav__links .nav__fftir { display: flex; opacity: 1; }
.nav__fftir img { width: 44px; height: 44px; border-radius: 50%; display: block; transition: transform .2s; }
.nav__fftir:hover img { transform: scale(1.06); }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: .2s; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  display: flex; flex-direction: column; justify-content: center;
  color: var(--white);
  overflow: hidden;
  text-align: center;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,34,51,0) 0%, rgba(13,34,51,0) 55%, rgba(13,34,51,.45) 100%),
    url("images/stand.jpg") center 60% / cover no-repeat,
    linear-gradient(135deg, #1d6a86, #0d2233 70%);
  filter: brightness(1.2) saturate(1.05);
}
.hero__content { position: relative; padding: 6px 0 5.5rem; text-shadow: 0 2px 12px rgba(0,0,0,.55); }
.hero__logo { width: 184px; height: 184px; border-radius: 50%; object-fit: cover; margin: 0 auto 10px; box-shadow: 0 0 0 6px rgba(255,255,255,.12), 0 12px 40px rgba(0,0,0,.4); }
.eyebrow { text-transform: uppercase; letter-spacing: .25em; font-size: .85rem; color: var(--accent); font-weight: 600; margin-bottom: 1rem; }
.hero .eyebrow { font-size: 1.1rem; margin-bottom: 8px; }
.hero h1 { font-size: clamp(2.8rem, 8vw, 5.5rem); text-transform: uppercase; }
.hero h1 span { display: block; font-size: .42em; letter-spacing: .35em; color: var(--accent); margin-top: .4rem; }
.hero__lead { max-width: 820px; margin: 1.2rem auto 2.2rem; font-size: 1.15rem; font-weight: 700; }
.hero__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero__info {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(255,255,255,.15);
  border-radius: var(--radius); overflow: hidden;
  margin-bottom: 3rem;
}
.hero__info div { background: rgba(13,34,51,.75); padding: 1.2rem; backdrop-filter: blur(4px); }
.hero__info strong { display: block; font-family: "Oswald"; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
.hero__info span { font-size: .95rem; }
.hero__info em { color: rgba(255,255,255,.55); }

/* ===== Sections ===== */
.section { padding: 5.5rem 0; }
.section--dark { background: var(--navy); color: var(--white); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section__head h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .8rem; }
.section__head h2::after { content: ""; display: block; width: 60px; height: 4px; background: var(--accent); margin: .8rem auto 0; border-radius: 2px; }
.section__head p { color: var(--muted); font-size: 1.05rem; }
.section__head p + p { margin-top: .8rem; }
.section--dark .section__head p { color: rgba(255,255,255,.75); }
.placeholder-note { font-size: .82rem !important; font-style: italic; color: var(--accent) !important; margin-top: .5rem; }
.center { text-align: center; }

/* ===== Cartes présentation ===== */
.cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.2rem; }
.card { grid-column: span 2; }
.card--wide { grid-column: span 3; }
.card--img {
  position: relative; min-height: 300px;
  border-radius: var(--radius); overflow: hidden;
  background: var(--ph);
  color: var(--white);
  display: flex; align-items: flex-end;
  box-shadow: var(--shadow);
  transition: transform .25s;
}
.card--img::before { /* motif cible discret */
  content: ""; position: absolute; inset: 0;
  background: repeating-radial-gradient(circle at 80% 20%, transparent 0 24px, rgba(255,255,255,.06) 24px 26px);
}
.card--img:hover { transform: translateY(-4px); }
.card__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; z-index: 1; }
.card__photo ~ .card__body { z-index: 2; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.card__body { position: relative; padding: 1.6rem; background: linear-gradient(transparent, rgba(0,0,0,.6)); width: 100%; }
.card__body h3 { font-size: 1.5rem; margin-bottom: .3rem; }
.card__body p { opacity: .9; }

/* ===== Carrousel disciplines ===== */
.carousel { position: relative; display: flex; align-items: center; gap: .8rem; }
.carousel__track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: .5rem 0 1rem; flex: 1; }
.carousel__track::-webkit-scrollbar { display: none; }
.disc {
  flex: 0 0 200px; scroll-snap-align: start;
  aspect-ratio: 1; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem;
  font-family: "Oswald"; font-size: 1.15rem; text-align: center; padding: 1rem;
  color: var(--text); text-decoration: none;
  transition: background .2s, color .2s, transform .2s;
}
.disc:hover { background: var(--navy); color: var(--white); transform: translateY(-3px); }
.disc img { width: 96px; height: 96px; object-fit: contain; }
.carousel__btn { flex: 0 0 44px; height: 44px; border-radius: 50%; border: 0; background: var(--navy); color: var(--white); font-size: 1.6rem; cursor: pointer; }
.carousel__btn:hover { background: var(--accent); }

.banner {
  display: flex; align-items: center; justify-content: center; gap: .8rem;
  margin-top: 2.5rem; padding: 1.3rem;
  background: var(--sea); color: var(--white); border-radius: var(--radius);
  text-decoration: none; font-family: "Oswald"; font-size: 1.25rem; letter-spacing: .03em;
}
.banner:hover { background: var(--navy); }
.banner svg { width: 26px; height: 26px; }

/* ===== Bloc texte + image ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split__text p { color: var(--muted); margin-bottom: 1.4rem; }
.split__img { width: 100%; max-width: 420px; height: auto; aspect-ratio: 837 / 1062; object-fit: cover; justify-self: center; border-radius: var(--radius); box-shadow: var(--shadow); }
.title-bar { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 1rem; }
.title-bar::before { content: ""; display: block; width: 60px; height: 4px; background: var(--accent); margin-bottom: 1rem; border-radius: 2px; }
.title-bar--sm { font-size: 1.5rem; margin-top: 2.2rem; }

/* ===== Placeholders photo ===== */
.ph {
  position: relative;
  background: var(--ph); border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.75); font-size: .9rem; font-weight: 500;
  overflow: hidden;
}
.ph::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-radial-gradient(circle at 50% 50%, transparent 0 24px, rgba(255,255,255,.06) 24px 26px);
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.ph span { position: relative; border: 1px dashed rgba(255,255,255,.5); padding: .4rem .9rem; border-radius: 6px; }
.ph--tall { aspect-ratio: 5 / 4; box-shadow: var(--shadow); }

/* ===== Documents inscription ===== */
.docs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; max-width: 860px; margin-inline: auto; }
.doc { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 1.2rem 1.2rem 2rem; }
.doc__img { width: 100%; height: auto; aspect-ratio: 384 / 239; object-fit: cover; border-radius: 8px; background: var(--white); margin-bottom: 1.4rem; }
.doc h3, .doc p, .doc a { margin-inline: .8rem; }
.doc h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.doc p { opacity: .8; margin-bottom: 1rem; }
.doc a { color: var(--accent); font-weight: 600; text-decoration: none; }
.doc a:hover { text-decoration: underline; }

/* ===== Tarifs ===== */
.subhead { text-align: center; font-size: clamp(2rem, 4vw, 2.8rem); margin: 5rem 0 2.5rem; }
.subhead span { display: block; font-family: "Inter"; font-size: 1rem; font-weight: 500; color: var(--muted); margin-top: .4rem; }
.prices { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }
.price { position: relative; background: var(--white); border: 2px solid var(--line); border-radius: var(--radius); padding: 2rem 1.4rem; text-align: center; }
.price h3 { font-size: 1.3rem; text-transform: uppercase; letter-spacing: .05em; }
.price__amount { font-family: "Oswald"; font-size: 2.8rem; color: var(--navy); margin: .6rem 0; }
.price__desc { color: var(--muted); font-size: .92rem; }
.price--featured { border-color: var(--accent); background: #fff8f2; }
.price__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--white); font-size: .75rem; font-weight: 600; padding: .2rem .8rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .08em; }

/* ===== Galerie ===== */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery .ph:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

/* ===== Footer ===== */
.footer { background: var(--navy); color: rgba(255,255,255,.85); padding-top: 4rem; }
.footer__grid { display: grid; grid-template-columns: 1fr 1.2fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer h4 { color: var(--white); text-transform: uppercase; letter-spacing: .1em; font-size: 1.05rem; margin-bottom: 1rem; }
.footer h4:not(:first-child) { margin-top: 1.8rem; }
.footer p { margin-bottom: 1rem; }
.footer a { color: var(--accent); text-decoration: none; }
.hours { list-style: none; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .95rem; }
.hours li span:first-child { font-weight: 600; color: var(--white); }
.socials { display: flex; gap: .8rem; }
.socials a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: var(--white); }
.socials a:hover { background: var(--accent); }
.socials svg { width: 20px; height: 20px; }
.map { display: flex; flex-direction: column; gap: .6rem; }
.map iframe { width: 100%; flex: 1; min-height: 280px; border: 0; border-radius: var(--radius); background: var(--navy-2); }
.map__link { font-weight: 600; font-size: .95rem; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.2rem 0; font-size: .85rem; }
.footer__bottom .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer__bottom a { color: rgba(255,255,255,.7); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--navy); padding: 0 16px;
    max-height: 0; overflow: hidden; transition: max-height .3s, padding .3s;
  }
  .nav__links a { padding: .9rem 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav__links .nav__phone { width: auto; margin: 1rem 0; border: 0; padding: .55rem 1rem; }
  .nav__links .nav__fftir { width: auto; padding: 0 0 1rem; border: 0; }
  .nav.open .nav__links { max-height: 560px; }
  .nav.open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .cards { grid-template-columns: 1fr 1fr; }
  .card, .card--wide { grid-column: span 1; }
  .card--wide:last-child { grid-column: span 2; }
  .docs { grid-template-columns: 1fr; }
  .prices { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .map { grid-column: span 2; }
}
@media (max-width: 600px) {
  .section { padding: 4rem 0; }
  .hero__info { grid-template-columns: 1fr; }
  .cards, .prices { grid-template-columns: 1fr; }
  .card--wide:last-child { grid-column: span 1; }
  .card--img { min-height: 240px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .map { grid-column: span 1; }
  .disc { flex-basis: 160px; }
}
@media (min-width: 761px) { .nowrap-desk { white-space: nowrap; } }
@media (max-width: 760px) { .br-desk { display: none; } }

/* ===== Mentions légales ===== */
.legal { max-width: 860px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 3rem; }
.legal__back { display: inline-block; margin-bottom: 1.5rem; color: var(--sea); font-weight: 600; text-decoration: none; }
.legal__back:hover { color: var(--accent); }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); text-transform: uppercase; margin-bottom: 1rem; }
.legal__intro { color: var(--muted); margin-bottom: 1rem; }
.legal section { padding-top: 1.8rem; margin-top: 1.8rem; border-top: 1px solid var(--line); }
.legal h2 { font-size: 1.4rem; text-transform: uppercase; letter-spacing: .04em; color: var(--navy); margin-bottom: .8rem; }
.legal p, .legal ul { margin-bottom: .8rem; }
.legal ul { padding-left: 1.2rem; }
.legal a { color: var(--sea); }
.legal__update { margin-top: 2rem; color: var(--muted); font-size: .9rem; }
.footer--slim { padding-top: 0; }
@media (max-width: 600px) { .legal { padding: 1.6rem 1.2rem; } }
.legal h3 { font-size: 1.1rem; color: var(--navy); margin: 1.2rem 0 .5rem; }
.legal__table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .92rem; }
.legal__table th, .legal__table td { border: 1px solid var(--line); padding: .6rem .7rem; text-align: left; vertical-align: top; }
.legal__table th { background: var(--bg); color: var(--navy); }
@media (max-width: 600px) { .legal__table { display: block; overflow-x: auto; } }

/* ===== Contact ===== */
.contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
.contact__intro h1 { font-size: clamp(2rem, 5vw, 2.8rem); text-transform: uppercase; margin-bottom: 1rem; }
.contact__infos { list-style: none; margin-top: 2rem; display: grid; gap: 1rem; }
.contact__infos strong { display: block; font-family: "Oswald"; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
.contact__infos a { color: var(--navy); font-weight: 600; text-decoration: none; }
.form { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 2.4rem; display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form label { display: grid; gap: .35rem; font-weight: 600; font-size: .92rem; color: var(--navy); }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; color: var(--text); padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 8px; background: #f8fafc; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; background: var(--white); }
.form textarea { resize: vertical; }
.form .form__check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; color: var(--text); }
.form .form__check input { width: 18px; height: 18px; margin-top: .2rem; flex: none; accent-color: var(--accent); }
.form .btn { justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.form__hp { position: absolute; left: -9999px; }
.form__note { font-size: .82rem; color: var(--muted); }
.form__note a { color: var(--sea); }
.form__status { padding: .9rem 1rem; border-radius: 8px; font-weight: 600; }
.form__status--ok { background: #e6f4ea; color: #1e6b35; }
.form__status--err { background: #fdecea; color: #a12a1c; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; gap: 2rem; } }
@media (max-width: 600px) { .form { padding: 1.6rem 1.2rem; } .form__row { grid-template-columns: 1fr; } }

/* ===== Carte : chargement après consentement ===== */
.map__frame { position: relative; flex: 1; display: flex; min-height: 280px; }
.map__frame iframe { flex: 1; }
.map__consent { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; gap: 1rem; text-align: center; padding: 1.5rem; border-radius: var(--radius); background: var(--navy-2); }
.map__consent p { margin: 0; font-size: .92rem; }
.map__consent .btn { justify-self: center; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.map__frame.is-loaded .map__consent { display: none; }

/* ===== Bandeau cookies ===== */
.footer__links a { color: inherit; }
.cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; display: flex; justify-content: center; }
.cookies[hidden] { display: none; }
.cookies__box { max-width: 760px; background: var(--navy); color: rgba(255,255,255,.9); border-radius: var(--radius); box-shadow: 0 12px 40px rgba(0,0,0,.35); padding: 1.4rem 1.6rem; font-size: .92rem; }
.cookies__title { font-family: "Oswald"; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); font-size: 1.1rem; margin-bottom: .4rem; }
.cookies__box a { color: var(--accent); }
.cookies__prefs { display: grid; gap: .7rem; margin-top: 1rem; }
.cookies__prefs[hidden] { display: none; }
.cookies__opt { display: flex; gap: .7rem; align-items: flex-start; }
.cookies__opt input { width: 18px; height: 18px; margin-top: .15rem; flex: none; accent-color: var(--accent); }
.cookies__actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: flex-end; margin-top: 1rem; }
.cookies__btn { font: inherit; font-weight: 600; padding: .6rem 1.1rem; border-radius: 999px; border: 2px solid var(--accent); background: var(--accent); color: var(--white); cursor: pointer; }
.cookies__btn--ghost { background: transparent; border-color: rgba(255,255,255,.5); }
.cookies__btn:hover { filter: brightness(1.1); }

/* Pictogramme provisoire des cartes sans photo */
.card__icon { position: absolute; left: 50%; top: 38%; transform: translate(-50%, -50%); width: 96px; height: 96px; color: var(--white); opacity: .9; z-index: 1; }
