* {
  box-sizing: border-box;
}

:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #172b4d;
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

.header {
  min-height: 112px;
  padding: 18px 3%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: #528acb;
  text-decoration: none;
  font-size: 20px;
  flex-shrink: 0;
}

.logo {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #e4f5ff;
  display: grid;
  place-items: center;
  font-size: 32px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 24px;
}

nav a {
  color: #253652;
  text-decoration: none;
  font-size: 17px;
}

nav a:hover,
nav a.active {
  color: #78a9d3;
}

.menu-toggle {
  display: none;
  background: white;
  border: 1px solid #ddd;
  padding: 10px 14px;
  font-size: 22px;
  border-radius: 8px;
}

.hero {
  min-height: 580px;
  display: flex;
  align-items: flex-start;
  background:
    linear-gradient(90deg, rgba(0,0,0,.25), transparent 85%),
    url("/assets/hero.jpeg") center 43% / cover no-repeat;
  color: white;
}

.hero-content {
  width: min(900px, 60%);
  padding: 70px 0 60px 8%;
}

.hero h1 {
  margin: 0 0 175px;
  font-size: clamp(36px, 3.5vw, 60px);
  line-height: 1.35;
  font-weight: 700;
}

.hero p {
  max-width: 760px;
  font-size: 21px;
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0,0,0,.35);
}

.cta {
  display: inline-block;
  margin-top: 14px;
  padding: 14px 22px;
  border-radius: 8px;
  background: #3099ed;
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.about {
  padding: 60px 8%;
  text-align: center;
}

.about h2 {
  font-size: 32px;
}

.about p {
  max-width: 700px;
  margin: auto;
  line-height: 1.7;
}

footer {
  padding: 24px 5%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  background: #f5f7fa;
}

footer a {
  color: #253652;
}

@media (max-width: 1050px) {
  .header {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  nav.open {
    display: flex;
  }

  .hero {
    min-height: 540px;
    background-position: center;
  }

  .hero-content {
    width: 90%;
    padding: 55px 0 40px 6%;
  }

  .hero h1 {
    margin-bottom: 100px;
    font-size: clamp(34px, 7vw, 48px);
  }

  .hero p {
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 620px;
    background-position: 55% center;
  }

  .hero-content {
    width: 100%;
    padding: 36px 22px;
    background: linear-gradient(90deg, rgba(0,0,0,.25), transparent);
  }

  .hero h1 {
    margin-bottom: 100px;
    font-size: 36px;
  }

  footer {
    flex-direction: column;
  }
}

.brand {
  gap: 0;
}

.brand-logo {
  display: block;
  width: 90px;
  height: 100px;
  object-fit: contain;
}

/* Sections de la page d'accueil */
.section-wrap {
  width: min(1160px, 90%);
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: #218bd5;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero {
  min-height: 570px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(9, 31, 59, .82), rgba(9, 31, 59, .2)),
    url("/assets/hero.jpeg") center 43% / cover no-repeat;
}

.hero-content {
  width: min(850px, 90%);
  padding: 65px 0 70px 8%;
}

.hero h1 {
  max-width: 760px;
  margin: 0 0 24px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.12;
}

.hero p {
  max-width: 660px;
  font-size: 19px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-actions .cta {
  margin-top: 0;
}

.cta {
  transition: transform .2s ease, background .2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  background: #187fc8;
}

.cta-light {
  background: white;
  color: #176cae;
}

.cta-light:hover {
  background: #eaf6ff;
  color: #176cae;
}

.intro {
  padding-top: 85px;
  padding-bottom: 75px;
  text-align: center;
}

.intro h2,
.section-heading h2,
.about h2,
.download h2,
.contact-strip h2 {
  margin: 0 0 18px;
  color: #172b4d;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.2;
}

.section-lead {
  max-width: 780px;
  margin: 0 auto;
  color: #5a6880;
  font-size: 18px;
  line-height: 1.8;
}

.features {
  padding-top: 25px;
  padding-bottom: 90px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading > p {
  color: #5a6880;
  line-height: 1.8;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  padding: 30px;
  border: 1px solid #e5edf5;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(23, 43, 77, .05);
}

.feature-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 15px;
  background: #e9f6ff;
  color: #218bd5;
  font-size: 27px;
}

.feature-card h3,
.step-card h3,
.destination-card h3 {
  margin: 0 0 12px;
  color: #172b4d;
  font-size: 20px;
}

.feature-card p,
.step-card p,
.destination-card p {
  margin: 0;
  color: #5a6880;
  line-height: 1.75;
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: #218bd5;
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.how-it-works {
  padding: 85px 0;
  background: #f3f9fe;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.step-card {
  padding: 26px 22px;
  border-radius: 16px;
  background: white;
}

.step-number {
  display: inline-block;
  margin-bottom: 20px;
  color: #218bd5;
  font-size: 30px;
  font-weight: 800;
}

.destinations {
  padding-top: 90px;
  padding-bottom: 90px;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.destination-card {
  padding: 25px;
  border: 1px solid #e5edf5;
  border-radius: 16px;
}

.destination-card > span {
  display: inline-block;
  margin-bottom: 15px;
  font-size: 27px;
}

.destination-note {
  margin: 30px 0 0;
  color: #68778c;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}

.center-action {
  margin-top: 25px;
  text-align: center;
}

.about {
  padding: 85px 8%;
  background: #f3f9fe;
  text-align: left;
}

.about-inner {
  display: grid;
  grid-template-columns: 160px minmax(0, 720px);
  justify-content: center;
  align-items: start;
  gap: 45px;
}

.about-mark {
  display: grid;
  width: 140px;
  height: 140px;
  place-items: center;
  border-radius: 32px;
  background: linear-gradient(135deg, #5fc6f4, #218bd5);
  color: white;
  font-size: 42px;
  font-weight: 800;
}

.about p {
  margin: 0 0 16px;
  color: #5a6880;
  line-height: 1.85;
}

.download {
  padding-top: 80px;
  padding-bottom: 80px;
}

.download-panel {
  padding: 60px 30px;
  border-radius: 24px;
  background: linear-gradient(135deg, #eaf7ff, #f5fbff);
  text-align: center;
}

.download-panel > p {
  max-width: 650px;
  margin: 0 auto 25px;
  color: #5a6880;
  line-height: 1.8;
}

.cta-dark {
  margin-top: 0;
}

.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 45px 8%;
  background: #176cae;
  color: white;
}

.contact-strip h2 {
  margin-bottom: 8px;
  color: white;
  font-size: 28px;
}

.contact-strip p {
  margin: 0;
  line-height: 1.7;
}

.contact-strip .cta {
  flex-shrink: 0;
  margin-top: 0;
}

.site-footer {
  padding: 55px 7% 20px;
  background: #102641;
  color: #d8e4f0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 35px;
  padding-bottom: 35px;
}

.footer-logo {
  display: block;
  width: 85px;
  height: 85px;
  object-fit: contain;
}

.footer-main h3 {
  margin: 0 0 18px;
  color: white;
  font-size: 16px;
}

.footer-main p {
  margin: 8px 0;
  color: #c0d0e0;
  line-height: 1.6;
}

.footer-main a {
  display: block;
  margin: 10px 0;
  color: #d8e4f0;
  text-decoration: none;
}

.footer-main a:hover,
.footer-bottom a:hover {
  color: #5fc6f4;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.16);
  color: #c0d0e0;
  font-size: 14px;
}

.footer-bottom a {
  color: #d8e4f0;
}

@media (max-width: 900px) {
  .card-grid,
  .destination-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-inner {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 25px;
  }

  .about-mark {
    width: 100px;
    height: 100px;
    font-size: 30px;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 570px;
    background-position: 60% center;
  }

  .hero-content {
    width: 100%;
    padding: 45px 24px;
    background: rgba(9, 31, 59, .25);
  }

  .hero h1 {
    margin-bottom: 22px;
    font-size: 40px;
  }

  .hero p {
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .cta {
    text-align: center;
  }

  .intro {
    padding-top: 60px;
    padding-bottom: 50px;
  }

  .features,
  .destinations {
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .card-grid,
  .steps-grid,
  .destination-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 25px;
  }

  .how-it-works {
    padding: 60px 0;
  }

  .about {
    padding: 60px 6%;
  }

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

  .about-mark {
    width: 76px;
    height: 76px;
    border-radius: 20px;
    font-size: 25px;
  }

  .download {
    padding-top: 55px;
    padding-bottom: 55px;
  }

  .download-panel {
    padding: 40px 22px;
  }

  .contact-strip {
    align-items: flex-start;
    flex-direction: column;
    padding: 40px 6%;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

/* Correction de la bannière principale */
.hero {
  min-height: 520px;
  display: flex;
  align-items: center;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-content {
  width: min(760px, 90%);
  padding: 55px 0 55px 8%;
}

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.2;
}

.hero p {
  margin: 0;
  max-width: 650px;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 24px;
}

@media (max-width: 600px) {
  .hero {
    min-height: 500px;
    align-items: center;
  }

  .hero-content {
    width: 100%;
    padding: 35px 22px;
  }

  .hero h1 {
    margin: 0 0 20px;
    font-size: 36px;
  }

  .hero p {
    font-size: 17px;
  }
}
