/* =========================================================
   Couderc Transport — feuille de style principale
   ========================================================= */

:root {
  --navy-900: #0b1a33;
  --navy-800: #11233f;
  --navy-700: #13284a;
  --gold: #c9a24d;
  --gold-light: #e2c47e;
  --gold-dark: #a8832f;
  --cream: #f6f4ef;
  --white: #ffffff;
  --text: #2b2f38;
  --text-muted: #4f5664;
  --line: #e4ded2;

  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-script: "Great Vibes", cursive;

  --container: 1200px;
  --header-h: 88px;
  --radius-pill: 999px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-family: var(--font-serif); font-weight: 500; line-height: 1.2; }
p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.icon {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rule {
  width: 42px;
  height: 2px;
  margin: 18px 0;
  border: 0;
  background: var(--gold);
}

.eyebrow {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Libellé centré entre deux filets dorés */
.section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
.section-label::before,
.section-label::after {
  content: "";
  width: 56px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  color: var(--white);
  box-shadow: 0 6px 18px rgba(201, 162, 77, .3);
}
.btn--gold:hover { box-shadow: 0 10px 26px rgba(201, 162, 77, .45); }

.btn--outline {
  padding: 9px 18px;
  border: 1.5px solid var(--gold);
  border-radius: 4px;
  color: var(--gold-light);
  background: rgba(11, 26, 51, .35);
}
.btn--outline:hover { background: var(--gold); color: var(--navy-900); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--white);
}
.link-arrow .icon { transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- En-tête ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  transition: box-shadow .3s var(--ease);
}
.header.is-scrolled { box-shadow: 0 4px 24px rgba(11, 26, 51, .1); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.header__logo img { width: 210px; height: auto; }

.nav { display: flex; align-items: center; gap: 48px; }
.nav__list { display: flex; gap: 32px; }
.nav__link {
  position: relative;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy-700);
  transition: color .3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover,
.nav__link.is-active { color: var(--navy-900); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border: 0;
  background: none;
  cursor: pointer;
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--navy-700);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 600px;
  padding-block: 72px;
  background-color: var(--navy-900);
  background-image:
    linear-gradient(90deg, rgba(11, 26, 51, .55) 0%, rgba(11, 26, 51, 0) 45%),
    image-set(url("../images/hero-toulouse.webp") type("image/webp"), url("../images/hero-toulouse.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: right center;
  color: var(--white);
}
.hero__content { max-width: var(--container); }
.hero__content > * { max-width: 440px; }

.hero__title {
  margin-top: 18px;
  font-size: clamp(44px, 6vw, 68px);
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.hero__title span { display: block; color: var(--gold); }
.hero__subtitle {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.2vw, 25px);
  line-height: 1.35;
}
.hero__text {
  margin-top: 28px;
  font-size: 15px;
  color: rgba(255, 255, 255, .88);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 36px;
  margin-top: 36px;
  max-width: none !important;
}

/* ---------- Services ---------- */
.services { padding-block: 64px; background: var(--cream); }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); }

.service {
  padding: 8px 28px;
  text-align: center;
}
.service + .service { border-left: 1px solid var(--line); }

.service__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 30px;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.service:hover .service__icon { background: var(--gold); color: var(--white); }
.service h3 { font-size: 18px; color: var(--navy-900); margin-bottom: 12px; }
.service p { font-size: 13.5px; color: var(--text-muted); }

/* ---------- Destinations ---------- */
.destinations {
  padding-block: 28px 32px;
  background: linear-gradient(180deg, var(--navy-700), var(--navy-900));
}
.destinations__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 18px;
}

.dest-card {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  color: var(--white);
}
.dest-card picture,
.dest-card picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dest-card picture img { transition: transform .8s var(--ease); }
.dest-card:hover picture img { transform: scale(1.05); }
.dest-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(11, 26, 51, .55), rgba(11, 26, 51, .25) 75%);
}

.dest-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 270px;
  padding: 28px 24px;
  text-align: center;
}
.dest-card__icon { font-size: 36px; margin-bottom: 14px; }
.dest-card h3 { font-size: clamp(20px, 2vw, 24px); margin-bottom: 10px; }
.dest-card p { max-width: 260px; font-size: 14px; margin-bottom: 24px; }

/* ---------- À propos ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  align-items: center;
  gap: 40px;
  padding-block: 28px;
  padding-left: max(24px, calc((100vw - var(--container)) / 2 + 24px));
  background: var(--cream);
}
.about__logo { width: 240px; margin-bottom: 26px; }
.about h2 { font-size: 22px; color: var(--navy-900); }
.about__text .rule { margin: 12px 0 22px; }
.about__text p { font-size: 14px; color: var(--text); max-width: 480px; }
.about__text .signature {
  margin-top: 26px;
  font-family: var(--font-script);
  font-size: 34px;
  line-height: 1;
  color: var(--navy-700);
}
.about__text .signature__role {
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}

.about__why {
  display: grid;
  grid-template-columns: 178fr 348fr;
  min-height: 420px;
  background: var(--navy-800);
  color: var(--white);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }

.why { padding: 40px 32px; align-self: center; }
.why h2 { font-size: 23px; line-height: 1.3; color: var(--white); }
.why h2 span { display: block; color: var(--gold); text-transform: uppercase; }
.why__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 8px;
  font-size: 14px;
}
.check {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-900);
  font-size: 16px;
}
.check .icon { stroke-width: 2.6; }

/* ---------- CTA ---------- */
.cta {
  padding-block: 20px 22px;
  background-color: var(--navy-800);
  background-image: image-set(url("../images/cta-toulouse.webp") type("image/webp"), url("../images/cta-toulouse.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center bottom;
  color: var(--white);
  text-align: center;
}
.cta__inner { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cta h2 { font-size: clamp(20px, 2.2vw, 24px); margin-bottom: 8px; }

/* ---------- Pied de page ---------- */
.footer {
  padding-top: 28px;
  background: var(--navy-900);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 48px;
  padding-bottom: 28px;
}
.footer__logo img { width: 180px; }
.footer__nav { display: flex; justify-content: center; gap: 28px; font-size: 12px; font-weight: 500; }
.footer__nav a:hover,
.footer__contact a:hover { color: var(--gold); }

.footer__contact {
  display: grid;
  gap: 8px;
  padding-left: 48px;
  border-left: 1px solid rgba(255, 255, 255, .15);
  font-size: 12px;
}
.footer__contact li { display: flex; align-items: center; gap: 10px; }
.footer__contact .icon { color: var(--gold); }

.footer__social { display: flex; gap: 10px; }
.footer__social a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-900);
  font-size: 18px;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.footer__social a:hover { background: var(--gold-light); transform: translateY(-2px); }
.footer__social li:nth-child(-n+2) .icon { fill: currentColor; stroke: none; }

.footer__copy {
  padding-block: 18px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 11px;
  text-align: center;
  color: rgba(255, 255, 255, .7);
}

/* ---------- Animations d'apparition ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 28px; }
  .nav__list { gap: 22px; }
  .about { grid-template-columns: 1fr; padding-inline: 24px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__nav { justify-content: flex-end; }
  .footer__contact { padding-left: 0; border-left: 0; }
  .footer__social { justify-content: flex-end; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .header__logo img { width: 170px; }
  .burger { display: flex; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 24px;
    background: var(--white);
    box-shadow: 0 12px 24px rgba(11, 26, 51, .12);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__list { flex-direction: column; gap: 14px; }

  .hero {
    min-height: 0;
    padding-block: 56px 280px;
    background-position: 70% center;
    background-image:
      linear-gradient(180deg, rgba(11, 26, 51, .92) 0%, rgba(11, 26, 51, .75) 55%, rgba(11, 26, 51, 0) 85%),
      image-set(url("../images/hero-toulouse.webp") type("image/webp"), url("../images/hero-toulouse.jpg") type("image/jpeg"));
  }

  .services__grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .service:nth-child(3) { border-left: 0; }

  .destinations__grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .services__grid { grid-template-columns: 1fr; }
  .service + .service { border-left: 0; border-top: 1px solid var(--line); padding-top: 32px; }

  .about__why { grid-template-columns: 1fr; }
  .about__photo img { height: 260px; object-position: center 35%; }
  .why { padding: 32px 24px; }

  .footer__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer__nav { flex-wrap: wrap; justify-content: center; gap: 12px 20px; }
  .footer__social { justify-content: center; }

  .section-label::before,
  .section-label::after { width: 28px; }
}
