/* ==========================================================
   Updoze — page d'au revoir
   Couleurs : bleu #3383FF · orange #E04F00 · texte #404040
   Police   : Comfortaa (chargée dans index.html)
   ========================================================== */

:root{
  color-scheme: light;
  --ink: #404040;
  --blue: #3383ff;
  --orange: #e04f00;
  --footer-bg: #1c1c1c;
  --font: 'Comfortaa', 'Trebuchet MS', system-ui, sans-serif;
}

*{ box-sizing: border-box; }
html, body{ margin: 0; padding: 0; }

body{
  font-family: var(--font);
  color: var(--ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}

/* Petit trait orange (section blanche : 88px) */
.accent{
  display: block;
  width: 88px;
  height: 4px;
  border-radius: 3px;
  background: var(--orange);
  margin: 22px 0 0;
}

/* ============ SECTION 1 — HERO (bleu) ============ */
.hero{
  background: var(--blue);
  color: #ffffff;
  padding: 42px 24px 60px;
}

.hero-inner{
  max-width: 1120px;
  margin: 0 auto;
}

.logo{
  display: block;
  width: 172px;
  height: auto;
  margin: 0 auto 40px;
}

.hero-grid{
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  align-items: center;
  gap: 40px;
}

/* Titre sur une seule ligne (≈ 31px sur grand écran) */
.hero-text h1{
  font-size: clamp(1.5rem, 2.8vw, 1.95rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  color: #ffffff;
  white-space: nowrap;
  text-shadow: 0 2px 14px rgba(0, 40, 90, .25);
}

/* Trait orange de la section bleue : plus long et centré sous le titre */
.hero .accent{
  width: 170px;
  margin: 24px auto 0;
}

.hero-image{ text-align: right; }
.hero-image img{
  width: 100%;
  max-width: 340px;
  height: auto;
  filter: drop-shadow(0 18px 34px rgba(0, 30, 70, .28));
}

/* ============ SECTION 2 — REMERCIEMENTS (blanc) ============ */
.thanks{
  background: #ffffff;
  padding: 80px 24px;
}

.thanks-grid{
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  align-items: center;
  gap: 56px;
}

.thanks-image{ text-align: center; }
.thanks-image img{
  width: 100%;
  max-width: 360px;
  height: auto;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .12));
}

.thanks-text h2{
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  color: var(--blue);
  margin: 0;
}

.thanks-text .accent{ margin-bottom: 28px; }

.thanks-text p{
  font-size: 1.06rem;
  color: var(--ink);
  margin: 0 0 20px;
}
.thanks-text p:last-child{ margin-bottom: 0; }
.thanks-text .contact{ font-weight: 600; color: var(--blue); }

/* ============ PIED DE PAGE ============ */
footer{ background: var(--footer-bg); color: #ffffff; }

.footer-top{
  max-width: 1100px;
  margin: 0 auto;
  padding: 54px 28px 34px;
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 44px;
}
.footer-top p{ margin: 0; }

.footer-desc{
  text-align: justify;
  font-size: .95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, .9);
}

.footer-info h4{
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}
.footer-info address{
  font-style: normal;
  font-size: .95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, .9);
}

.footer-bottom{
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 28px;
  text-align: center;
}
.footer-bottom p{ margin: 0; font-size: 9pt; color: rgba(255, 255, 255, .72); }
.footer-bottom a{ color: rgba(255, 255, 255, .9); text-decoration: none; }
.footer-bottom a:hover{ text-decoration: underline; }

/* ============ RESPONSIVE (tablette / mobile) ============ */
@media (max-width: 860px){
  .hero-grid{
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .hero-text{ order: 1; }
  .hero-image{ order: 2; text-align: center; }
  .hero-text h1{
    white-space: normal;
    font-size: clamp(1.4rem, 6vw, 2rem);
  }
  .hero-image img{ max-width: 300px; }

  .thanks-grid{
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .thanks-image{ order: 1; }
  .thanks-text{ order: 2; }
  .thanks-text .accent{ margin-left: auto; margin-right: auto; }

  .footer-top{
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 24px 26px;
    text-align: center;
  }
  .footer-desc{ text-align: left; }
}

@media (max-width: 480px){
  .thanks{ padding: 56px 22px; }
  .logo{ width: 150px; }
}
