/* ==========================================================
   SAKAPALY TOUR - REDESIGN
   ========================================================== */

:root {
    --forest: #1f3a32;
    --forest-dark: #142a24;
    --terracotta: #c8794a;
    --sand: #d9b36c;
    --cream: #f8f5ef;
    --paper: #fffdf9;
    --ink: #202522;
    --muted: #69706b;
    --line: rgba(31, 58, 50, .13);
    --white: #ffffff;
    --shadow: 0 20px 60px rgba(15, 35, 29, .12);
    --radius: 22px;
    --header-h: 84px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "DM Sans", Arial, sans-serif;
    line-height: 1.65;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.section {
    padding: 110px 0;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--terracotta);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
}

.eyebrow.light {
    color: #e9d8b5;
}

h1,
h2,
h3 {
    font-family: "Playfair Display", Georgia, serif;
    line-height: 1.08;
}

h2 {
    margin: 0;
    font-size: clamp(42px, 5vw, 72px);
    letter-spacing: -.035em;
}

p {
    margin-top: 0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 55px;
}

.section-heading > p {
    max-width: 420px;
    color: var(--muted);
}

/* ==========================================================
   HEADER — bande blanche fixe, toujours visible
   ========================================================== */

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    background: var(--white);
    box-shadow: 0 2px 16px rgba(15, 35, 29, .08);
    transition: box-shadow .3s ease, background .3s ease;
}

.site-header.scrolled {
    box-shadow: 0 10px 35px rgba(0, 0, 0, .1);
}

.nav-wrap {
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
}

/* Logo image — taille fixe et raisonnable */
.brand .img {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand .img img {
    height: 60px;
    width: auto;
    max-width: none;
    display: block;
}

.brand-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-family: "Playfair Display", serif;
    font-size: 21px;
    flex-shrink: 0;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-family: "Playfair Display", serif;
    font-size: 22px;
    line-height: 1;
    color: var(--forest);
}

.brand small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .18em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
}

.main-nav a {
    position: relative;
    color: var(--ink);
}

.main-nav a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -7px;
    height: 1px;
    background: currentColor;
    transition: .25s;
}

.main-nav a:not(.nav-cta):hover::after {
    right: 0;
}

.nav-cta {
    padding: 12px 18px;
    color: var(--white) !important;
    background: green;
    border-radius: 999px;
}

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    color: var(--ink);
    font-size: 26px;
}

/* ==========================================================
   HERO — décalé sous le header fixe
   ========================================================== */

.hero {
    min-height: 92vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    margin-top: var(--header-h);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url("../images/accueil.jpeg") center / cover no-repeat;
    transform: scale(1.03);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(11, 27, 23, .82), rgba(11, 27, 23, .35) 60%, rgba(11, 27, 23, .08)),
        linear-gradient(0deg, rgba(11, 27, 23, .55), transparent 55%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(58px, 8vw, 112px);
    letter-spacing: -.055em;
}

.hero h1 em {
    color: #e7c98e;
    font-weight: 500;
}

.hero-text {
    max-width: 600px;
    margin: 30px 0;
    color: rgba(255,255,255,.84);
    font-size: 18px;
}

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

.btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 23px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s, background .2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: var(--white);
    background: green;
}

.btn-ghost {
    color: var(--white);
    border-color: rgba(255,255,255,.45);
    background: rgba(255,255,255,.08);
}

.btn-light {
    color: var(--forest);
    background: var(--white);
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 42px;
    color: rgba(255,255,255,.72);
    font-size: 12px;
}

.scroll-cue {
    position: absolute;
    right: 35px;
    bottom: 35px;
    z-index: 2;
    color: rgba(255,255,255,.7);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.scroll-cue span {
    margin-left: 10px;
    font-size: 18px;
}

/* INTRO */

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
}

.intro-copy {
    padding-top: 40px;
    color: var(--muted);
    font-size: 17px;
}

.intro-copy p {
    max-width: 570px;
}

.text-link {
    display: inline-flex;
    gap: 10px;
    margin-top: 15px;
    color: var(--forest);
    font-size: 13px;
    font-weight: 700;
    border-bottom: 1px solid var(--forest);
    padding-bottom: 5px;
}

/* DESTINATIONS */

.section-dark {
    color: var(--white);
    background: var(--forest);
}

.heading-light h2 {
    color: var(--white);
}

.heading-light > p {
    color: rgba(255,255,255,.65);
}

.destination-grid {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    grid-template-rows: 300px 300px;
    gap: 18px;
}

.destination-card {
    position: relative;
    min-height: 280px;
    overflow: hidden;
    border-radius: var(--radius);
}

.destination-card.large {
    grid-row: span 2;
}

.destination-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.destination-card:hover img {
    transform: scale(1.06);
}

.destination-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.7), transparent 65%);
}

.destination-info {
    position: absolute;
    z-index: 2;
    left: 28px;
    right: 28px;
    bottom: 25px;
}

.destination-info span {
    color: #e7c98e;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.destination-info h3 {
    margin: 5px 0 0;
    color: var(--white);
    font-size: 30px;
}

/* JOURNEYS */

.journey-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.journey-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    transition: transform .25s, box-shadow .25s;
}

.journey-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.card-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.journey-card:hover .card-image img {
    transform: scale(1.05);
}

.card-tag {
    position: absolute;
    left: 16px;
    top: 16px;
    padding: 8px 11px;
    border-radius: 999px;
    color: var(--forest);
    background: rgba(255,255,255,.92);
    font-size: 11px;
    font-weight: 700;
}

.card-body {
    padding: 27px;
}

.card-kicker {
    margin-bottom: 8px;
    color: var(--terracotta);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
}

.card-body h3 {
    margin: 0 0 12px;
    font-size: 29px;
}

.card-body p:not(.card-kicker) {
    min-height: 70px;
    color: var(--muted);
    font-size: 13px;
}

.card-link {
    display: inline-flex;
    gap: 10px;
    color: var(--forest);
    font-size: 12px;
    font-weight: 700;
}

/* WHY */

.section-cream {
    background: var(--cream);
}

.why-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 100px;
    align-items: center;
}

.why-image {
    position: relative;
}

.why-image img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius);
}

.experience-badge {
    position: absolute;
    right: -30px;
    bottom: 35px;
    width: 145px;
    height: 145px;
    display: grid;
    place-content: center;
    text-align: center;
    border-radius: 50%;
    color: var(--white);
    background: green;
    box-shadow: var(--shadow);
}

.experience-badge strong {
    font-family: "Playfair Display", serif;
    font-size: 42px;
    line-height: 1;
}

.experience-badge span {
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.25;
}

.why-content > p:not(.eyebrow) {
    max-width: 600px;
    margin: 25px 0 40px;
    color: var(--muted);
}

.feature {
    display: flex;
    gap: 18px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
}

.feature-icon {
    width: 35px;
    color: var(--terracotta);
    font-size: 11px;
    font-weight: 700;
}

.feature h3 {
    margin: 0 0 5px;
    font-size: 21px;
}

.feature p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

/* MISSION */

.mission {
    color: var(--white);
    background: #BDC0C0;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.mission h2 {
    color: var(--white);
}

.mission-grid > div:last-child {
    padding-top: 15px;
    color: rgba(255,255,255,.86);
    font-size: 17px;
}

/* SERVICES */

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
}

.service-item {
    padding: 30px 25px 10px 0;
    border-right: 1px solid var(--line);
}

.service-item:not(:first-child) {
    padding-left: 25px;
}

.service-item:last-child {
    border-right: 0;
}

.service-item > span {
    color: var(--terracotta);
    font-size: 11px;
    font-weight: 700;
}

.service-item h3 {
    margin: 22px 0 10px;
    font-size: 26px;
}

.service-item p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

/* QUOTE */

.quote {
    background: var(--forest-dark);
}

.quote-box {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 80px;
    padding: 70px;
    border-radius: 30px;
    color: var(--white);
    background: var(--forest);
}

.quote-copy h2 {
    color: var(--white);
}

.quote-copy > p:not(.eyebrow) {
    max-width: 460px;
    margin-top: 25px;
    color: rgba(255,255,255,.68);
}

.quote-form {
    display: grid;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.quote-form label {
    display: grid;
    gap: 7px;
    color: rgba(255,255,255,.75);
    font-size: 11px;
    font-weight: 700;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px;
    outline: 0;
    color: var(--white);
    background: rgba(255,255,255,.07);
    font: inherit;
}

.quote-form select option {
    color: var(--ink);
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    border-color: var(--sand);
}

.form-note {
    min-height: 20px;
    margin: 0;
    color: #e7c98e;
    font-size: 12px;
}

/* CONDITIONS */

.conditions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.conditions-grid > div:last-child {
    color: var(--muted);
}

/* FOOTER */

.site-footer {
    padding: 75px 0 25px;
    color: rgba(255,255,255,.72);
    background: #9aafa9;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr .7fr .9fr 1fr;
    gap: 50px;
    padding-bottom: 55px;
}

.brand-footer {
    color: var(--white);
}

.footer-brand > p {
    max-width: 290px;
    margin-top: 20px;
    font-size: 13px;
}

.footer-grid h4 {
    margin: 0 0 18px;
    color: var(--white);
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.footer-grid > div:not(.footer-brand) a {
    display: block;
    margin: 9px 0;
    font-size: 13px;
}

.footer-grid > div:not(.footer-brand) p {
    font-size: 12px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.1);
    font-size: 10px;
}

.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 99;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: #1f9d57;
    box-shadow: 0 12px 30px rgba(0,0,0,.2);
    font-size: 12px;
    font-weight: 800;
}

/* RESPONSIVE */

@media (max-width: 980px) {
    .main-nav {
        position: absolute;
        left: 20px;
        right: 20px;
        top: var(--header-h);
        display: none;
        padding: 20px;
        border-radius: 18px;
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .main-nav.open {
        display: grid;
    }

    .main-nav a {
        color: var(--ink);
        padding: 8px 0;
    }

    .menu-toggle {
        display: block;
    }

    .intro-grid,
    .why-grid,
    .mission-grid,
    .conditions-grid,
    .quote-box {
        grid-template-columns: 1fr;
        gap: 45px;
    }

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

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

    .service-item:nth-child(2) {
        border-right: 0;
    }

    .service-item:nth-child(3),
    .service-item:nth-child(4) {
        border-top: 1px solid var(--line);
    }

    .quote-box {
        padding: 45px 30px;
    }

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

@media (max-width: 650px) {
    :root {
        --header-h: 70px;
    }

    .container {
        width: min(100% - 28px, 1180px);
    }

    .section {
        padding: 75px 0;
    }

    h2 {
        font-size: 43px;
    }

    .brand .img img {
        height: 46px;
    }

    .brand strong {
        font-size: 18px;
    }

    .hero {
        min-height: 850px;
    }

    .hero h1 {
        font-size: 58px;
    }

    .hero-text {
        font-size: 15px;
    }

    .hero-proof {
        display: grid;
        gap: 8px;
    }

    .scroll-cue {
        display: none;
    }

    .section-heading {
        display: block;
    }

    .section-heading .text-link {
        margin-top: 25px;
    }

    .destination-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .destination-card.large {
        grid-row: auto;
    }

    .destination-card {
        min-height: 300px;
    }

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

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

    .service-item,
    .service-item:not(:first-child) {
        padding: 25px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .service-item:last-child {
        border-bottom: 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .experience-badge {
        right: 15px;
        bottom: 15px;
        width: 120px;
        height: 120px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom {
        display: grid;
        gap: 8px;
    }

    /* ==========================================================
   FOOTER — RÉSEAUX SOCIAUX
   (à placer en dehors de toute media query, dans le corps du CSS)
   ========================================================== */

.footer-social {
    display: flex;
    align-items: center;
    gap: 26px; /* ← espace augmenté entre les icônes */
    margin-top: 18px;
}

.footer-social .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.footer-social .social-link.facebook,
.footer-social .social-link.whatsapp {
    border-radius: 50%;
}

.footer-social .social-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.footer-social .social-link svg {
    width: 28px;
    height: 28px;
}

/* Responsive tablette / petit écran */
@media (max-width: 650px) {
    .footer-social {
        gap: 20px;
    }
    .footer-social .social-link {
        width: 60px;
        height: 60px;
    }
    .footer-social .social-link svg {
        width: 34px;
        height: 34px;
    }
}

/* Responsive mobile */
@media (max-width: 576px) {
    .footer-social {
        gap: 16px;
    }
    .footer-social .social-link {
        width: 52px;
        height: 52px;
    }
    .footer-social .social-link svg {
        width: 28px;
        height: 28px;
    }
}
}