:root {
  --blue:   #2C3F50;
  --green:  #80BAA8;
  --yellow: #E0FECA;

  --ink:    var(--blue);
  --paper:  var(--yellow);
  --accent: var(--green);
  --muted:  #5a7a6e;
  --rule:   #c4dfd7;
  --card:   #edfce8;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
}

/* HEADER */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 2rem;
  transition: background-color 0.3s, box-shadow 0.3s, padding 0.3s;
}

header.scrolled {
  background: var(--ink);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
  padding: 0.7rem 2rem;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo */
.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 36px;
  width: auto;
}

.logo-fallback {
  display: none;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--yellow);
  line-height: 1.1;
}

.logo-fallback em {
  font-style: normal;
  color: var(--green);
}

/* Nav */
nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-head {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
  padding: 0.45rem 0.9rem;
  border-radius: 2px;
  transition: background-color 0.2s, color 0.2s;
}

.nav-head:hover {
  background: rgba(224,254,202,0.12);
}

.cta {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--green);
  color: var(--ink);
  padding: 0.5rem 1.1rem;
  border-radius: 2px;
  transition: background-color 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
}

.cta:hover {
  background: var(--yellow);
  transform: translateY(-1px);
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--yellow);
  transition: transform 0.25s, opacity 0.25s;
}

.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* HERO CONTACT */
.hero-contact {
  background: var(--ink);
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  padding: 7rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-lines {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 59px,
      rgba(128,186,168,0.06) 59px,
      rgba(128,186,168,0.06) 60px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 59px,
      rgba(128,186,168,0.06) 59px,
      rgba(128,186,168,0.06) 60px
    );
}

/* Cercle déco */
.hero-bg::before {
  content: '';
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  border: 1px solid rgba(128,186,168,0.12);
  right: -80px;
  bottom: -120px;
}

.hero-bg::after {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(128,186,168,0.08);
  right: 120px;
  bottom: 20px;
}

.hero-inner {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid rgba(128,186,168,0.35);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  animation: fadeUp 0.5s ease both;
}

.hero-tag .material-icons { font-size: 0.9rem; }

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 9vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--yellow);
  margin-bottom: 1.25rem;
  animation: fadeUp 0.5s 0.1s ease both;
}

.hero-accent { color: var(--green); }

.hero-sub {
  max-width: 420px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(224,254,202,0.55);
  font-weight: 300;
  animation: fadeUp 0.5s 0.2s ease both;
}

/* SECTION CONTACT */
#contact {
  padding: 5rem 2rem 6rem;
  background: var(--paper);
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 27px,
    var(--rule) 27px,
    var(--rule) 28px
  );
}

.contact-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 4rem;
  align-items: start;
}

/* ── ASIDE ── */
.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 0.5rem;
  position: sticky;
  top: 6rem;
}

.aside-block {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  animation: fadeUp 0.5s ease both;
}

.aside-block:nth-child(2) { animation-delay: 0.08s; }
.aside-block:nth-child(3) { animation-delay: 0.16s; }

.aside-icon {
  font-size: 1.2rem !important;
  color: var(--accent);
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.aside-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.aside-value {
  font-family: 'DM Mono', monospace;
  font-size: 0.88rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

a.aside-value:hover { color: var(--accent); }

/* Numéro décoratif */
.aside-deco {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 1rem;
  opacity: 0.12;
}

.aside-deco span:first-child {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--ink);
  letter-spacing: 0;
}

.aside-deco span:last-child {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ── FORM CONTAINER ── */
.form-container {
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  padding: 2.5rem;
  box-shadow: 5px 5px 0 var(--ink);
  animation: fadeUp 0.5s 0.15s ease both;
}

.form-container h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 2rem;
}

.form-container h2 em {
  font-style: normal;
  color: var(--accent);
}

/* ── FORM ── */
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1.75rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--ink);
  padding: 0.6rem 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--rule);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group textarea {
  resize: none;
  min-height: 120px;
  line-height: 1.6;
}

/* Bouton submit */
.form-submit-btn {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--ink);
  color: var(--yellow);
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border-radius: 2px;
  transition: background-color 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 4px 4px 0 var(--accent);
  margin-top: 0.5rem;
}

.form-submit-btn:hover {
  background: var(--accent);
  color: var(--ink);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.form-submit-btn .material-icons {
  font-size: 1rem !important;
  transition: transform 0.2s;
}

.form-submit-btn:hover .material-icons {
  transform: translateX(4px);
}

/* FOOTER */
.site-footer {
  background: var(--ink);
  color: var(--yellow);
  padding: 3.5rem 2rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 1.5rem 3rem;
  align-items: start;
}

.footer-brand { 
  grid-column: 1;
  align-self: end;
}

.footer-logo {
  height: 32px;
  width: auto;
  margin-bottom: 0.6rem;
}

.footer-logo-fallback {
  display: none;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--yellow);
  margin-bottom: 0.6rem;
}

.footer-tagline {
  font-size: 0.8rem;
  color: rgba(224,254,202,0.5);
  font-style: italic;
}

.footer-tagline a {
  color: inherit;
  text-decoration: none;
}

.footer-tagline a:hover {
  color: var(--green);
}

.footer-links {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-align: right;
}

.footer-links a {
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(224,254,202,0.6);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--green); }

/* ════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 760px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-aside {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .aside-deco { display: none; }

  .form { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }
  .form-submit-btn { grid-column: 1; }
}

@media (max-width: 640px) {
  header { padding: 0.9rem 1.25rem; }
  header.scrolled { padding: 0.6rem 1.25rem; }

  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--ink);
    padding: 1rem;
    gap: 0.25rem;
  }

  nav.open { display: flex; }
  .burger { display: flex; }

  .hero-contact { padding: 6rem 1.25rem 3rem; min-height: 40vh; }
  #contact { padding: 3rem 1.25rem 4rem; }
  .form-container { padding: 1.75rem; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { grid-column: 1; text-align: left; flex-direction: row; flex-wrap: wrap; gap: 1rem; }
}


/* ════════════════════════════════════════
   PAGE CONFIRMATION — confirmform.html
════════════════════════════════════════ */

body.confirm-page {
  background: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── SECTION PRINCIPALE ── */
.confirm-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 7rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

/* Fond : grille + cercles */
.confirm-bg { position: absolute; inset: 0; pointer-events: none; }

.confirm-lines {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent, transparent 59px,
      rgba(128,186,168,0.06) 59px,
      rgba(128,186,168,0.06) 60px
    ),
    repeating-linear-gradient(
      0deg,
      transparent, transparent 59px,
      rgba(128,186,168,0.06) 59px,
      rgba(128,186,168,0.06) 60px
    );
}

.confirm-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(128,186,168,0.1);
}
.confirm-circle.c1 { width: 560px; height: 560px; right: -160px; top: 50%; transform: translateY(-50%); }
.confirm-circle.c2 { width: 340px; height: 340px; right: -20px;  top: 50%; transform: translateY(-50%); }
.confirm-circle.c3 { width: 120px; height: 120px; left: 8%;  bottom: 12%; border-color: rgba(224,254,202,0.06); }

/* ── CONTENU ── */
.confirm-inner {
  max-width: 560px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* Badge check animé */
.confirm-badge {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 12px rgba(128,186,168,0.12), 0 0 0 24px rgba(128,186,168,0.05);
  animation: badgePop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.confirm-badge .material-icons {
  font-size: 2rem !important;
  color: var(--ink);
}

/* Tag */
.confirm-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid rgba(128,186,168,0.35);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  animation: fadeUp 0.5s 0.15s ease both;
}

.confirm-tag .material-icons { font-size: 0.9rem !important; }

/* Titre */
.confirm-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 10vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--yellow);
  animation: fadeUp 0.5s 0.2s ease both;
}

.confirm-accent { color: var(--green); }

/* Card texte */
.confirm-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(128,186,168,0.18);
  border-radius: 4px;
  padding: 1.75rem 2rem;
  width: 100%;
  animation: fadeUp 0.5s 0.3s ease both;
}

.confirm-text {
  font-size: 0.97rem;
  line-height: 1.7;
  color: rgba(224,254,202,0.7);
}

.confirm-text--sub {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: rgba(224,254,202,0.45);
}

.confirm-text--sub strong {
  color: var(--green);
  font-weight: 600;
}

/* Stats */
.confirm-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border-top: 1px solid rgba(128,186,168,0.15);
  margin-top: 1.5rem;
  padding-top: 1.25rem;
}

.confirm-stat { flex: 1; text-align: center; }

.confirm-stat-sep {
  width: 1px;
  height: 28px;
  background: rgba(128,186,168,0.2);
}

.cstat-val {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--yellow);
  margin-bottom: 0.2rem;
}

.cstat-lbl {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(224,254,202,0.35);
}

/* Bouton retour */
.confirm-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--green);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 1.75rem;
  border-radius: 2px;
  box-shadow: 4px 4px 0 rgba(128,186,168,0.3);
  transition: background-color 0.2s, transform 0.15s, box-shadow 0.2s;
  animation: fadeUp 0.5s 0.4s ease both;
}

.confirm-btn:hover {
  background: var(--yellow);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(128,186,168,0.35);
}

.confirm-btn .material-icons { font-size: 1rem !important; }

/* ── ANIMATIONS CONFIRMATION ── */
@keyframes badgePop {
  from { opacity: 0; transform: scale(0.4); }
  to   { opacity: 1; transform: scale(1); }
}