/* ================================================================
   COULEURS RÉUNION — Styles globaux
   Fonte : Reforma1969 (pxgcdn.com)
   Palette : blanc #fff · navy #212b49 · vert #73b62d
   ================================================================ */

@import url('https://pxgcdn.com/fonts/reforma1969/stylesheet.css');

/* ── Variables ── */
:root {
  --bg:        #ffffff;
  --bg-alt:    #f1f8ea;
  --bg-dark:   #212b49;
  --bg-darker: #111626;
  --text:      #1e2131;
  --text2:     #313548;
  --accent:    #212b49;
  --green:     #73b62d;
  --green2:    #4d7a1e;
  --white:     #ffffff;
  --font:      Reforma1969, "SF Pro Display", Helvetica, Arial, sans-serif;
  --max-w:     1160px;
  --nav-h:     72px;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17.8px;
  font-weight: 500;
  line-height: 1.64;
  letter-spacing: -0.03em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { color: var(--accent); text-decoration: none; transition: color 0.25s; }
a:hover { color: var(--green2); }

/* ── Typographie ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: clamp(1rem, 1.6vw, 1.25rem); }

.section--dark  h1, .section--dark  h2,
.section--dark  h3, .section--dark  h4,
.section--darker h1, .section--darker h2,
.section--darker h3, .section--darker h4 { color: var(--white); }

/* ── Boutons ── */
.btn {
  display: inline-block;
  padding: 0.65em 1.6em;
  font-family: var(--font);
  font-size: inherit;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.btn:hover               { background: var(--accent); color: var(--white); }
.btn--filled             { background: var(--accent); color: var(--white); }
.btn--filled:hover       { background: transparent; color: var(--accent); }
.btn--green              { border-color: var(--green); color: var(--green); }
.btn--green:hover        { background: var(--green); color: var(--white); }
.btn--green-filled       { background: var(--green); color: var(--white); border-color: var(--green); }
.btn--green-filled:hover { background: transparent; color: var(--green); }

/* ── Header / Nav ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(33, 43, 73, 0.12);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.3s;
}

.site-header--hero { background: transparent; border-bottom-color: transparent; }
.site-header--hero .nav-links a  { color: rgba(255,255,255,0.9); }
.site-header--hero .nav-toggle span { background: #fff; }
.site-header--hero .nav-logo img { filter: brightness(0) invert(1); }
.site-header--hero.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: rgba(33, 43, 73, 0.12);
}
.site-header--hero.is-scrolled .nav-links a { color: var(--text); }
.site-header--hero.is-scrolled .nav-toggle span { background: var(--text); }
.site-header--hero.is-scrolled .nav-logo img { filter: none; }

.nav-wrapper {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo img { height: 44px; width: auto; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.8rem;
}
.nav-links a {
  color: var(--text);
  font-size: 0.94em;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

/* ── Hero plein écran (accueil) ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(33, 43, 73, 0.42);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 0 2rem;
}
.hero-logo { max-width: 210px; margin: 0 auto 1.5rem; }
.hero-logo img { filter: brightness(0) invert(1); }
.hero-subtitle {
  color: rgba(255,255,255,0.75);
  font-size: 0.9em;
  letter-spacing: 0.04em;
  margin-top: 0.5rem;
}

/* ── Hero page intérieure ── */
.hero-page {
  position: relative;
  height: 54vh; min-height: 300px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: var(--nav-h);
}
.hero-page-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-page-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17,22,38,0.8) 0%, rgba(33,43,73,0.15) 100%);
}
.hero-page-content {
  position: relative; z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 2rem;
}
.hero-page-content h1 { color: #fff; }

/* ── Bande image (mi/bas de page) ── */
.img-band {
  position: relative;
  height: 60vh; min-height: 320px;
  overflow: hidden;
}
.img-band-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.img-band-overlay {
  position: absolute; inset: 0;
  background: rgba(33, 43, 73, 0.25);
}

/* ── Sections ── */
.section { padding: 80px 2rem; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }

.section--light   { background: var(--bg); }
.section--alt     { background: var(--bg-alt); }
.section--dark    { background: var(--bg-dark);   color: var(--white); }
.section--darker  { background: var(--bg-darker); color: var(--white); }

.section--dark  a, .section--darker a { color: var(--green); }
.section--dark  a:hover, .section--darker a:hover { color: #fff; }

/* ── Label de section ── */
.kicker {
  display: block;
  font-size: 0.78em;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.5rem;
}
.section--light .kicker,
.section--alt   .kicker { color: var(--accent); }

/* ── Layout split 2 colonnes ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

.split-img { overflow: hidden; }
.split-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.split-img:hover img { transform: scale(1.04); }

.split-text > * + * { margin-top: 1.2rem; }
.split-text p { color: var(--text2); }
.section--dark  .split-text p,
.section--darker .split-text p { color: rgba(255,255,255,0.75); }

/* Portrait rond dans le texte */
.portrait-inline {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}
.portrait-inline img {
  width: 60px; height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  flex-shrink: 0;
}
.portrait-inline span { color: var(--text2); font-size: 0.88em; }

/* ── Témoignage accueil ── */
.testimonial-wrap {
  display: flex;
  gap: 4rem;
  align-items: center;
}
.testimonial-img {
  flex: 0 0 280px;
  overflow: hidden;
}
.testimonial-img img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.testimonial-body > * + * { margin-top: 1.2rem; }
.testimonial-quote {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.65;
  font-style: italic;
  color: var(--text);
  padding-left: 1.5rem;
  border-left: 3px solid var(--green);
}
.section--dark  .testimonial-quote,
.section--darker .testimonial-quote { color: rgba(255,255,255,0.9); border-left-color: var(--green); }

/* ── Témoignages (page) ── */
.temoignage {
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(33,43,73,0.1);
}
.temoignage:first-child { padding-top: 0; }

.temoignage-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}
.temoignage-event {
  font-size: 0.78em; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green);
}
.temoignage-author { font-weight: 700; color: var(--accent); }
.temoignage-date   { color: var(--text2); font-size: 0.88em; }

.temoignage blockquote {
  font-size: 1em; line-height: 1.75;
  color: var(--text);
  padding-left: 1.5rem;
  border-left: 3px solid rgba(33,43,73,0.2);
  font-style: italic;
  margin-top: 0.5rem;
}

/* ── Références ── */
.refs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}
.ref-tag {
  padding: 0.4rem 1rem;
  border: 1px solid rgba(33,43,73,0.2);
  font-size: 0.85em;
  color: var(--text2);
}
.section--dark .ref-tag  { border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.75); }
.section--darker .ref-tag { border-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.65); }

/* ── Vidéo embed ── */
.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0; overflow: hidden;
  background: #000;
}
.video-wrap iframe {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ── Menu / Carte ── */
.menu-cat { margin-bottom: 3rem; }
.menu-cat + .menu-cat {
  border-top: 1px solid rgba(33,43,73,0.1);
  padding-top: 3rem;
}

.menu-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 2rem;
}
.menu-header img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }

.menu-list {
  list-style: none;
  columns: 2; column-gap: 2.5rem;
}
.menu-list li {
  color: var(--text2);
  font-size: 0.94em;
  padding: 0.28rem 0;
  break-inside: avoid;
  border-bottom: 1px solid rgba(33,43,73,0.06);
}
.menu-list li::before { content: '— '; color: var(--green); }

.menu-sublabel {
  font-size: 0.78em; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent);
  margin: 1.2rem 0 0.4rem;
}

/* ── Services ── */
.services-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  padding: 2rem;
  border: 1px solid rgba(33,43,73,0.14);
}
.section--dark .service-card { border-color: rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); }

.service-card h3 { color: var(--accent); margin-bottom: 0.8rem; font-size: 1.1rem; }
.section--dark .service-card h3 { color: var(--green); }

.service-card p  { color: var(--text2); font-size: 0.93em; }
.section--dark .service-card p { color: rgba(255,255,255,0.7); }

.service-card ul { list-style: none; margin-top: 0.6rem; }
.service-card li {
  color: var(--text2); font-size: 0.93em;
  padding: 0.2rem 0 0.2rem 1em;
  position: relative;
}
.section--dark .service-card li { color: rgba(255,255,255,0.7); }
.service-card li::before { content: '›'; position: absolute; left: 0; color: var(--green); }

/* Étapes déroulement */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.step { text-align: center; }
.step-num {
  width: 48px; height: 48px;
  border: 2px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.2rem; font-weight: 700;
  color: var(--accent);
}
.section--dark .step-num { border-color: var(--green); color: var(--green); }
.step h4 { font-size: 0.95rem; margin-bottom: 0.3rem; }
.step p   { color: var(--text2); font-size: 0.88em; }
.section--dark .step p { color: rgba(255,255,255,0.65); }

/* ── Contact ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-block { margin-bottom: 2rem; }
.contact-label {
  display: block;
  font-size: 0.78em; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.3rem;
}
.contact-block a   { color: var(--white); font-size: 1.05em; display: block; }
.contact-block a:hover { color: var(--green); }
.contact-block p   { color: rgba(255,255,255,0.75); }

.zones { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.zone  {
  padding: 0.3rem 0.85rem;
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 0.85em;
  color: rgba(255,255,255,0.7);
}

/* ── Footer ── */
.site-footer {
  background: var(--bg-darker);
  padding: 64px 2rem 32px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo img { height: 46px; width: auto; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-desc { font-size: 0.9em; line-height: 1.7; color: rgba(255,255,255,0.5); }

.footer-col h4 {
  font-size: 0.76em; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}
.footer-nav { list-style: none; }
.footer-nav li { margin-bottom: 0.45rem; }
.footer-nav a { color: rgba(255,255,255,0.55); font-size: 0.92em; }
.footer-nav a:hover { color: var(--green); }

.footer-contact address {
  font-style: normal;
  color: rgba(255,255,255,0.55);
  font-size: 0.92em;
  line-height: 1.9;
}
.footer-contact a { color: rgba(255,255,255,0.55); }
.footer-contact a:hover { color: var(--green); }
.footer-social { margin-top: 0.8rem; display: flex; gap: 1rem; }
.footer-social a {
  font-size: 0.8em; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.footer-social a:hover { color: var(--green); }

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 24px;
  text-align: center;
  font-size: 0.8em;
  color: rgba(255,255,255,0.3);
}

/* ── Utilitaires ── */
.u-center { text-align: center; }
.u-mt-sm  { margin-top: 1rem; }
.u-mt-md  { margin-top: 1.5rem; }
.u-mt-lg  { margin-top: 2.5rem; }
.u-mb-md  { margin-bottom: 1.5rem; }
.u-green  { color: var(--green); }
.divider  { border: none; border-top: 1px solid rgba(33,43,73,0.1); margin: 3rem 0; }
.section--dark  .divider { border-color: rgba(255,255,255,0.1); }

/* ── Responsive ── */
@media (max-width: 960px) {
  :root { --nav-h: 64px; }
  .section { padding: 60px 2rem; }

  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split--reverse { direction: ltr; }

  .menu-header { grid-template-columns: 1fr; gap: 1.5rem; }
  .menu-list   { columns: 1; }

  .steps { grid-template-columns: repeat(2, 1fr); }

  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .testimonial-wrap { flex-direction: column; gap: 2rem; }
  .testimonial-img  { flex: none; width: 100%; max-width: 320px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .section { padding: 48px 1.5rem; }

  .nav-toggle { display: flex; }
  .nav-links  {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: rgba(17, 22, 38, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: #fff; font-size: 1.1rem; }
  .site-header--hero.is-scrolled .nav-links.open a,
  .site-header--hero .nav-links.open a { color: #fff; }

  .footer-inner { grid-template-columns: 1fr; }

  .img-band   { height: 44vh; min-height: 210px; }
  .hero-page  { height: 40vh; min-height: 220px; }

  .services-cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .step-num { width: 40px; height: 40px; font-size: 1rem; }
}
