:root {
    --beige: #f6eadf;
    --cream: #fffaf5;
    --brown: #b56b32;
    --brown-dark: #a05624;
    --dark: #222222;
    --muted: #6f6258;
    --white: #ffffff;
}

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

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--dark);
    background: var(--cream);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.01em;
}

p {
    font-weight: 400;
}

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

/* ============ HEADER ============
   Structure fixe : logo à gauche, langue au centre, menu à droite (desktop).
   Grid garantit un centrage exact de la langue, indépendant de la largeur du logo/menu. */

.navbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 1rem;
    height: 100px;
    padding: 0 7%;
    background: var(--cream);
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.navbar > div:first-child {
    justify-self: start;
}

.navbar > .language {
    justify-self: center;
}

.navbar > nav {
    justify-self: end;
}

header div img {
    width: 200px;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
}

.language {
    display: flex;
    gap: 0.5rem;
}

.language button {
    border: 1px solid var(--brown);
    background: transparent;
    color: var(--brown);
    padding: 0.4rem 0.7rem;
    border-radius: 20px;
    cursor: pointer;
}

/* ============ HERO ============ */

.hero {
    position: relative;
    height: 45vh;
    min-height: 320px;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,0.62),
        rgba(0,0,0,0.25),
        rgba(0,0,0,0.05)
    );
}

.hero-content {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 7%;
    transform: translateY(-50%);
    max-width: 720px;
    color: white;
}

.hero h1 {
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    line-height: 1.05;
    margin-bottom: 1.2rem;
    color: white;
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 1.8rem;
}

.btn {
    display: inline-block;
    background: var(--brown);
    color: white;
    text-decoration: none;
    padding: 0.9rem 1.5rem;
    border-radius: 999px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s;
}

.btn:hover {
    background: var(--brown-dark);
}

/* ============ STATS STRIP ============
   3 blocs identiques ; en dessous de 850px ils s'empilent 1 par ligne
   (jamais 2+1) pour garder une structure régulière. */

.stats-strip {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 1.4rem 7%;
    background: var(--beige);
    border-bottom: 1px solid #e9ddd0;
    text-align: center;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat strong {
    font-size: 1.15rem;
    color: var(--brown);
    font-weight: 700;
}

.stat span {
    font-size: 0.85rem;
    color: var(--muted);
}

main {
    overflow: hidden;
}

.intro {
    padding: 80px 20px 0px 20px;
    text-align: center;
    max-width: 850px;
    margin: auto;
}

.intro h2,
.split h2,
.profit h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.intro p {
    color: var(--muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* ============ SPLIT SECTIONS (image + texte) ============
   Même structure partout : même hauteur de photo, même alignement de texte. */

.split {
    padding: 5rem 7%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split.reverse {
    background: var(--beige);
}

.text {
    max-width: 560px;
}

.small-title {
    display: inline-block;
    color: var(--brown);
    font-weight: bold;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

.text p,
.text li {
    color: var(--muted);
    font-size: 1.05rem;
}

.text ul {
    list-style: none;
    margin: 1.5rem 0 2rem;
}

.text li {
    margin-bottom: 0.9rem;
}

.image-card {
    background: none;
}

.image-card img {
    border-radius: 22px;
    width: 100%;
    height: 340px;
    object-fit: cover;
}

/* Deux visuels côte à côte, chacun avec sa propre légende, même hauteur totale
   que les cartes à une seule photo */
.photo-pair {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background-color: white;
    border-radius: 22px;
}

.photo-pair-item {
    flex: 1;
    min-width: 0;
}

.photo-caption {
    margin-top: 0.8rem;
    padding: 0 0.4rem;
    font-size: 0.85rem;
    color: var(--muted);
    text-align: center;
}

/* ============ PROFIT + CTA (bloc unique) ============ */

.profit {
    padding: 40px 10px 50px 10px;
    text-align: center;
    background: var(--cream);
}

.profit p {
    max-width: 650px;
    margin: 0 auto 1.5rem;
    color: var(--muted);
}

.profit strong {
    display: inline-block;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--brown);
    margin-bottom: 0px;
}

.profit-note {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* ============ FLOATING CTA ============ */

.floating-cta {
    position: fixed;
    right: 1.8rem;
    bottom: 1.8rem;
    z-index: 50;
    background: var(--brown);
    color: white;
    text-decoration: none;
    padding: 0.9rem 1.6rem;
    border-radius: 999px;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    transition: 0.3s;
}

.floating-cta:hover {
    background: var(--brown-dark);
    transform: translateY(-2px);
}

footer {
    padding: 0px 10px 80px;
    text-align: center;
    color: var(--muted);
    background: var(--cream);
}

footer a {
    color: var(--brown);
    font-weight: bold;
    text-decoration: none;
}

/* ============ MOBILE (<= 850px) ============
   Règle générale : tout le texte de contenu est centré, une seule colonne,
   même ordre visuel partout (photo puis texte), header en 2 rangées fixes. */

@media (max-width: 850px) {

    .navbar {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        row-gap: 1rem;
        height: auto;
        padding: 1rem 5%;
    }

    .navbar > div:first-child {
        order: 1;
        justify-self: auto;
    }

    .navbar > .language {
        order: 2;
        justify-self: auto;
    }

    .navbar > nav {
        order: 3;
        justify-self: auto;
        width: 100%;
        justify-content: center;
    }

    header div img {
        width: 140px;
    }

    .hero {
        height: 34vh;
    }

    .hero-content {
        left: 5%;
        right: 5%;
        text-align: center;
    }

    .hero-content h1 {
        font-size: clamp(1.2rem, 5vw, 2rem);
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    /* Une seule ligne par statistique, jamais 2+1 */
    .stats-strip {
        flex-direction: column;
        gap: 1.4rem;
        padding: 1.6rem 5%;
    }

    .split {
        grid-template-columns: 1fr;
        padding: 4rem 5%;
        gap: 2rem;
        text-align: center;
    }

    /* Toujours photo puis texte, quelle que soit la section */
    .split .image-card {
        order: -1;
    }

    .split .text {
        order: 1;
        max-width: 100%;
    }

    .image-card img {
        height: 240px;
    }

    /* Les 2 visuels restent côte à côte sur mobile, juste plus petits */
    .photo-pair {
        gap: 0.5rem;
    }

    .photo-pair img {
        height: 150px;
    }

    .intro {
        padding: 50px 10px 0px 10px;
    }
    .profit {
        padding: 4rem 5%;
    }

    .floating-cta {
        right: 1rem;
        bottom: 1rem;
        padding: 0.75rem 1.3rem;
        font-size: 0.9rem;
    }
}

/* ============ CONTACT HERO ============ */

.contact-hero-banner {
    position: relative;
    height: 35vh;
    min-height: 250px;
    overflow: hidden;
    margin-bottom: 0;
}

.contact-hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-hero-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.contact-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
    text-align: center;
    color: white;
}

.contact-hero-content h1 {
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    line-height: 1.05;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.contact-hero-content p {
    font-size: 1.2rem;
    max-width: 650px;
    margin: auto;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.contact-page {
    padding: 5rem 7%;
}

.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: auto;
    align-items: start;
}

.contact-info {
    background: var(--beige);
    border-radius: 28px;
    overflow: hidden;
}

.contact-form {
    background: var(--beige);
    border-radius: 28px;
    padding: 2.5rem;
}

.contact-info .profile-photo {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.contact-info-body {
    padding: 2rem 2.5rem 2.5rem;
}

.contact-info-body h2 {
    font-size: 1.9rem;
    margin-bottom: 1rem;
}

.contact-info-body p {
    color: var(--muted);
    margin-bottom: 1rem;
}

.info-list {
    margin-top: 2rem;
}

.info-list p {
    color: var(--dark);
}

.trust-list {
    list-style: none;
    margin-top: 1.5rem;
}

.trust-list li {
    color: var(--brown);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.form-row {
    margin-bottom: 1.2rem;
}

.form-row label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #e2d4c7;
    border-radius: 14px;
    font-family: inherit;
    font-size: 1rem;
    background: white;
}

.form-row textarea {
    resize: vertical;
}

.form-note {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.9rem;
}

@media (max-width: 850px) {
    .contact-section {
        grid-template-columns: 1fr;
    }

    /* Sur mobile : le formulaire d'abord, la présentation ensuite */
    .contact-form {
        order: 1;
    }

    .contact-info {
        order: 2;
    }

    .contact-page {

        padding: 4rem 5%;

    }

    .contact-info .profile-photo {
        height: 240px;
    }

    .contact-info-body {
        padding: 1.8rem 1.8rem 2.2rem;
    }

    .contact-hero-content {
            padding-left: 5%;

    }

    .contact-hero-content h1 {
    font-size: clamp(1.2rem, 5vw, 2rem);
}
}

/* ============ THANK YOU PAGE ============ */

.thank-you {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background: var(--cream);
}

.thank-you-card {
    max-width: 700px;
    width: 100%;
    background: white;
    padding: 4rem;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.checkmark {
    width: 90px;
    height: 90px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    background: var(--brown);
    color: white;
    font-size: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.thank-you-card h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 1rem;
}

.thank-you-card p {
    color: var(--muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.thank-you-card hr {
    border: none;
    height: 1px;
    background: #e5e5e5;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .thank-you-card {
        padding: 2rem;
    }
}

@media screen and (max-width: 480px) {
    * {
        text-align: left;
    }
    .stats-strip {
        text-align: center;
    }
    .stats-strip span {
        text-align: center;
    }
    .stats-strip strong {
        text-align: center;
    }

    .profit {
        text-align: left;
    }
    .profit strong {
        text-align: left;
    }
    footer {
        text-align: center;
    }
    footer p {
        text-align: center;
    }
}


