/* =============================================================
   AMINATA FATY — style.css
   Feuille de styles principale (référence : desktop 1440px)
   -------------------------------------------------------------
   SOMMAIRE
   01. Variables & reset
   02. Typographie de base
   03. Utilitaires (container, section, boutons, animations)
   04. Header / Navigation
   05. Hero + transition papier déchiré
   06. Section "Quel est votre projet au Sénégal ?"
   07. Section "Notre Histoire"
   08. Footer
   09. Pages intérieures
   ============================================================= */


/* =============================================================
   01. VARIABLES & RESET
   ============================================================= */
:root{

    /* ---- Palette extraite de la maquette ---- */
    --primary:          #D9531E;   /* orange principal : boutons, footer */
    --secondary:        #E4671F;   /* orange clair : dégradés, survols */
    --text:             #2C211A;   /* brun très foncé : titres            */
    --background:       #FDF5EC;   /* crème : header + hero               */
    --orange:           #E2551C;   /* orange manuscrit & accents          */
    --white:            #FFFFFF;   /* blanc : transition papier           */

    /* ---- Déclinaisons ---- */
    --background-alt:   #FDF8F1;   /* fond section projet                 */
    --background-soft:  #FEFBF7;   /* fond section notre histoire         */
    --card-bg:          #FBF2E7;   /* fond des cartes                     */
    --text-soft:        #574A41;   /* texte courant                       */
    --text-mute:        #6E6057;   /* légendes                            */
    --primary-dark:     #C6491A;   /* barre basse du footer               */
    --heart:            #F0834E;   /* cœur central                        */
    --line:             rgba(44, 33, 26, .10);

    /* ---- Polices ---- */
    --font-display: 'Playfair Display', 'Times New Roman', serif;
    --font-script:  'Dancing Script', 'Segoe Script', cursive;
    --font-body:    'Poppins', 'Helvetica Neue', Arial, sans-serif;

    /* ---- Rythme & effets ---- */
    --container: 1340px;
    --gutter: 40px;
    --radius: 14px;
    --radius-sm: 5px;
    --shadow-card: 0 14px 34px rgba(44, 33, 26, .07);
    --shadow-btn: 0 8px 18px rgba(217, 83, 30, .26);
    --ease: cubic-bezier(.22, .68, .27, 1);
}

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

html{
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body{
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.85;
    color: var(--text-soft);
    background-color: var(--background);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

img{
    height: auto;
}

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

ul{
    list-style: none;
}

button{
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

/* Réglage global des icônes SVG : tracé fin, couleur héritée */
svg{
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Éléments SVG destinés à être pleins (point Instagram, triangle YouTube…) */
svg .fill{
    fill: currentColor;
    stroke: none;
}

/* ---- Accessibilité : lien d'évitement ---- */
.skip-link{
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    padding: 12px 20px;
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--white);
    background: var(--primary);
}

.skip-link:focus{
    left: 12px;
    top: 12px;
}

/* ---- Focus clavier visible partout ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible{
    outline: 2px solid var(--orange);
    outline-offset: 3px;
    border-radius: 2px;
}

/* ---- Sélection ---- */
::selection{
    color: var(--white);
    background: var(--primary);
}


/* =============================================================
   02. TYPOGRAPHIE DE BASE
   ============================================================= */
h1, h2, h3, h4{
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--text);
    line-height: 1.2;
}

strong{
    font-weight: 600;
    color: var(--text);
}


/* =============================================================
   03. UTILITAIRES
   ============================================================= */

/* ---- Conteneur central ---- */
.container{
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* ---- Boutons ---- */
.btn{
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.35px;
    text-transform: uppercase;
    line-height: 1;
    border-radius: var(--radius-sm);
    transition: background-color .35s var(--ease),
                color .35s var(--ease),
                border-color .35s var(--ease),
                box-shadow .35s var(--ease),
                transform .35s var(--ease);
}

.btn-arrow{
    display: inline-flex;
    transition: transform .35s var(--ease);
}

.btn-arrow svg{
    width: 17px;
    height: 17px;
    stroke-width: 1.7;
}

.btn:hover .btn-arrow{
    transform: translateX(5px);
}

/* Bouton plein orange */
.btn--solid{
    padding: 17px 28px;
    color: var(--white);
    background-color: var(--primary);
    box-shadow: var(--shadow-btn);
}

.btn--solid:hover{
    background-color: var(--secondary);
    box-shadow: 0 12px 24px rgba(217, 83, 30, .34);
    transform: translateY(-2px);
}

/* Bouton contour orange */
.btn--outline{
    padding: 14px 24px;
    color: var(--primary);
    background-color: transparent;
    border: 1px solid var(--primary);
    box-shadow: 0 4px 12px rgba(217, 83, 30, .08);
}

.btn--outline:hover{
    color: var(--white);
    background-color: var(--primary);
    box-shadow: 0 10px 20px rgba(217, 83, 30, .24);
    transform: translateY(-2px);
}

/* Bouton contour blanc (footer) */
.btn--ghost{
    padding: 13px 26px;
    color: var(--white);
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, .8);
}

.btn--ghost:hover{
    color: var(--primary);
    background-color: var(--white);
    border-color: var(--white);
    box-shadow: 0 10px 20px rgba(120, 40, 12, .2);
    transform: translateY(-2px);
}

/* ---- Animations discrètes au scroll ---- */
[data-animate]{
    opacity: 0;
    transition: opacity .9s var(--ease), transform .9s var(--ease);
    will-change: opacity, transform;
}

[data-animate="fade-up"]{
    transform: translateY(26px);
}

[data-animate="fade-right"]{
    transform: translateX(-26px);
}

[data-animate="fade"]{
    transform: none;
}

[data-animate].is-visible{
    opacity: 1;
    transform: none;
}

/* Respect du réglage système « animations réduites » */
@media (prefers-reduced-motion: reduce){
    html{
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after{
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
    [data-animate]{
        opacity: 1;
        transform: none;
    }
}


/* =============================================================
   04. HEADER / NAVIGATION
   ============================================================= */
.site-header{
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--background);
    padding: 20px 0 14px;
    transition: padding .4s var(--ease),
                box-shadow .4s var(--ease),
                background-color .4s var(--ease);
}

/* État « collé » ajouté par script.js après défilement */
.site-header.is-stuck{
    padding: 11px 0;
    background-color: rgba(253, 245, 236, .95);
    box-shadow: 0 6px 26px rgba(44, 33, 26, .08);
    -webkit-backdrop-filter: blur(9px);
    backdrop-filter: blur(9px);
}

.header-inner{
    display: flex;
    align-items: center;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* ---- Logo ---- */
.logo{
    display: block;
    margin-right: auto;
}

.logo-name{
    display: block;
    font-family: var(--font-script);
    font-size: 44px;
    font-weight: 600;
    line-height: 1;
    color: var(--orange);
}

.logo-baseline{
    display: block;
    margin-top: 7px;
    padding-left: 3px;
    font-size: 10.5px;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: 1.35px;
    text-transform: uppercase;
    color: var(--text-soft);
}

.logo-baseline-line{
    display: block;
}

.logo-baseline-line:last-child{
    text-align: center;
}

/* ---- Menu ---- */
.main-nav{
    margin-right: 54px;
}

.nav-list{
    display: flex;
    align-items: center;
    gap: 52px;
}

.nav-link{
    position: relative;
    display: inline-block;
    padding: 4px 0;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--text);
    transition: color .3s var(--ease);
}

/* Soulignement animé */
.nav-link::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1.5px;
    background-color: var(--orange);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .4s var(--ease);
}

.nav-link:hover,
.nav-link.is-active{
    color: var(--orange);
}

.nav-link:hover::after,
.nav-link.is-active::after{
    transform: scaleX(1);
}

/* ---- Réseaux sociaux ---- */
.header-social{
    display: flex;
    align-items: center;
    gap: 16px;
}

.social-link{
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    color: var(--text);
    transition: color .3s var(--ease), transform .3s var(--ease);
}

.social-link svg{
    width: 22px;
    height: 22px;
    stroke-width: 1.5;
}

.social-link:hover{
    color: var(--orange);
    transform: translateY(-2px);
}

/* ---- Bouton burger (masqué en desktop) ---- */
.nav-toggle{
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 34px;
    height: 34px;
    margin-left: 18px;
}

.nav-toggle-bar{
    display: block;
    width: 24px;
    height: 1.6px;
    background-color: var(--text);
    transition: transform .35s var(--ease), opacity .25s var(--ease);
}


/* =============================================================
   05. HERO + TRANSITION PAPIER DÉCHIRÉ
   ============================================================= */
.hero{
    position: relative;
    overflow: hidden;
    padding: 60px 0 132px;
    background-color: var(--background);
}

.hero-inner{
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container);
    min-height: 520px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* ---- Colonne gauche : contenu ---- */
.hero-content{
    max-width: 490px;
}

.hero-overline{
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 1.6px;
    line-height: 1;
    text-transform: uppercase;
    color: var(--orange);
}

.hero-title{
    margin-top: 22px;
    font-size: 52px;
    font-weight: 500;
    line-height: 1.11;
    letter-spacing: -.2px;
    color: var(--text);
}

.hero-title-script{
    display: inline-block;
    margin-top: 6px;
    font-family: var(--font-script);
    font-size: 62px;
    font-weight: 500;
    line-height: 1.15;
    color: var(--orange);
}

.hero-text{
    max-width: 320px;
    margin-top: 26px;
    font-size: 13.5px;
    font-weight: 300;
    line-height: 1.9;
    color: var(--text-soft);
}

.hero-text-accent{
    color: var(--orange);
}

.hero-rule{
    display: block;
    width: 72px;
    height: 2px;
    margin-top: 26px;
    background-color: var(--orange);
}

/* ---- Colonne droite : photo débordant sur le bord droit ---- */
.hero-media{
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    width: 58%;
    height: 100%;
}

.hero-media picture,
.hero-media img{
    width: 100%;
    height: 100%;
}

.hero-media img{
    object-fit: cover;
    object-position: 50% 32%;
}

/* Fondu de la photo vers le fond crème (gauche + haut) */
.hero-media-fade{
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(to right,
            var(--background) 0%,
            rgba(253, 245, 236, .92) 8%,
            rgba(253, 245, 236, .45) 20%,
            rgba(253, 245, 236, 0) 36%),
        linear-gradient(to bottom,
            var(--background) 0%,
            rgba(253, 245, 236, .55) 7%,
            rgba(253, 245, 236, 0) 18%);
}

/* ---- Transition « papier déchiré » ---- */
.torn-paper{
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    z-index: 3;
    line-height: 0;
    pointer-events: none;
}

.torn-paper svg{
    display: block;
    width: 100%;
    height: 92px;
    stroke: none;
}


/* =============================================================
   06. SECTION "QUEL EST VOTRE PROJET AU SÉNÉGAL ?"
   ============================================================= */
.section{
    position: relative;
}

.section--project{
    padding: 6px 0 32px;
    background-color: var(--background-alt);
}

/* ---- En-tête de section ---- */
.section-head{
    text-align: center;
}

.section-script{
    font-family: var(--font-script);
    font-size: 27px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--orange);
}

.section-title{
    margin-top: 10px;
    font-size: 33px;
    font-weight: 500;
    letter-spacing: 1.6px;
    line-height: 1.2;
    color: var(--text);
}

.section-rule{
    display: block;
    width: 74px;
    height: 2px;
    margin: 15px auto 0;
    background-color: var(--orange);
}

/* ---- Grille des deux cartes ---- */
.project-grid{
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.card{
    display: grid;
    align-items: stretch;
    min-height: 496px;
    background-color: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: box-shadow .5s var(--ease), transform .5s var(--ease);
}

.card:hover{
    box-shadow: 0 20px 44px rgba(44, 33, 26, .11);
    transform: translateY(-3px);
}

/* Colonnes strictement symétriques : 44 % image / 56 % contenu */
.card--left{
    grid-template-columns: 44% minmax(0, 1fr);
}

.card--right{
    grid-template-columns: minmax(0, 1fr) 44%;
}

/* ---- Média de carte + bord déchiré ---- */
.card-media{
    position: relative;
    overflow: hidden;
}

.card-media img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s var(--ease);
}

.card:hover .card-media img{
    transform: scale(1.045);
}

/* Bord déchiré à droite (carte de gauche) */
.card--left .card-media{
    -webkit-clip-path: polygon(
        0 0, 97.5% 0,
        93.5% 4%, 98% 8%, 93% 13%, 97.5% 17%,
        92.5% 22%, 97% 27%, 92% 32%, 96.5% 37%,
        92.5% 42%, 98% 47%, 93% 52%, 97.5% 57%,
        92% 62%, 96.5% 67%, 92.5% 72%, 97% 77%,
        92% 82%, 96.5% 87%, 93% 92%, 97.5% 96%,
        94% 100%, 0 100%
    );
    clip-path: polygon(
        0 0, 97.5% 0,
        93.5% 4%, 98% 8%, 93% 13%, 97.5% 17%,
        92.5% 22%, 97% 27%, 92% 32%, 96.5% 37%,
        92.5% 42%, 98% 47%, 93% 52%, 97.5% 57%,
        92% 62%, 96.5% 67%, 92.5% 72%, 97% 77%,
        92% 82%, 96.5% 87%, 93% 92%, 97.5% 96%,
        94% 100%, 0 100%
    );
}

/* Bord déchiré à gauche (carte de droite) — miroir exact */
.card--right .card-media{
    -webkit-clip-path: polygon(
        100% 0, 2.5% 0,
        6.5% 4%, 2% 8%, 7% 13%, 2.5% 17%,
        7.5% 22%, 3% 27%, 8% 32%, 3.5% 37%,
        7.5% 42%, 2% 47%, 7% 52%, 2.5% 57%,
        8% 62%, 3.5% 67%, 7.5% 72%, 3% 77%,
        8% 82%, 3.5% 87%, 7% 92%, 2.5% 96%,
        6% 100%, 100% 100%
    );
    clip-path: polygon(
        100% 0, 2.5% 0,
        6.5% 4%, 2% 8%, 7% 13%, 2.5% 17%,
        7.5% 22%, 3% 27%, 8% 32%, 3.5% 37%,
        7.5% 42%, 2% 47%, 7% 52%, 2.5% 57%,
        8% 62%, 3.5% 67%, 7.5% 72%, 3% 77%,
        8% 82%, 3.5% 87%, 7% 92%, 2.5% 96%,
        6% 100%, 100% 100%
    );
}

/* ---- Corps de carte ---- */
.card-body{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 34px 36px 40px;
    text-align: center;
}

.card-icon{
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    color: var(--white);
    background-color: var(--primary);
}

.card-icon svg{
    width: 46px;
    height: 46px;
    stroke-width: 1.7;
}

.card-title{
    margin-top: 16px;
    font-family: var(--font-script);
    font-size: 50px;
    font-weight: 500;
    line-height: 1.1;
    color: var(--orange);
}

.card-text{
    margin-top: 14px;
    font-size: 13.5px;
    font-weight: 300;
    line-height: 1.95;
    text-align: left;
    color: var(--text-soft);
}

.card-body .btn{
    margin-top: 28px;
}

/* ---- Cœur central entre les deux cartes ---- */
.project-heart{
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 5;
    display: block;
    width: 40px;
    height: 40px;
    color: var(--heart);
    transform: translate(-50%, -50%);
}

.project-heart svg{
    width: 100%;
    height: 100%;
    fill: currentColor;
    stroke: none;
}


/* =============================================================
   07. SECTION "NOTRE HISTOIRE"
   ============================================================= */
.section--story{
    padding: 42px 0 36px;
    background-color: var(--background-soft);
}

.story-grid{
    display: grid;
    grid-template-columns: minmax(0, 41%) minmax(0, 1fr);
    gap: 38px;
    align-items: center;
}

/* ---- Colonne gauche ---- */
.story-overline{
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.6px;
    line-height: 1;
    text-transform: uppercase;
    color: var(--orange);
}

.story-rule{
    display: block;
    width: 34px;
    height: 2px;
    margin: 9px 0 22px;
    background-color: var(--orange);
}

.story-title{
    font-size: 26px;
    font-weight: 500;
    line-height: 1.42;
    color: var(--text);
}

.story-text{
    margin-top: 20px;
    font-size: 12.5px;
    font-weight: 300;
    line-height: 1.95;
    color: var(--text-soft);
}

.story-script{
    margin-top: 20px;
    font-family: var(--font-script);
    font-size: 23px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--orange);
}

.story-content .btn{
    margin-top: 24px;
}

/* ---- Colonne droite : grille d'images ---- */
.story-gallery{
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.gallery-row{
    display: flex;
    gap: 18px;
}

.gallery-item{
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background-color: var(--card-bg);
}

.gallery-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s var(--ease);
}

.gallery-item:hover img{
    transform: scale(1.05);
}

/* Rangée haute : 2 images (proportions de la maquette) */
.gallery-row--top .gallery-item{
    height: 200px;
}

.gallery-item--a{ flex: 1.05; }
.gallery-item--b{ flex: 1; }

/* Rangée basse : 3 images */
.gallery-row--bottom .gallery-item{
    height: 168px;
}

.gallery-item--c{ flex: 1; }
.gallery-item--d{ flex: 1; }
.gallery-item--e{ flex: 1.05; }


/* =============================================================
   08. FOOTER
   ============================================================= */
.site-footer{
    position: relative;
    color: var(--white);
    background-color: var(--primary);
}

/* ---- Bord supérieur déchiré ---- */
.footer-torn{
    line-height: 0;
    background-color: var(--background-soft);
}

.footer-torn svg{
    display: block;
    width: 100%;
    height: 34px;
    stroke: none;
}

/* ---- Corps du footer ---- */
.footer-main{
    padding: 42px 0 40px;
    background: linear-gradient(100deg, #DC5722 0%, #D75020 52%, #CE4A19 100%);
}

.footer-grid{
    display: grid;
    grid-template-columns: 1.18fr .82fr 1fr;
    align-items: center;
}

.footer-col{
    position: relative;
}

/* Filets verticaux de séparation */
.footer-col--social,
.footer-col--news{
    padding-left: 46px;
}

.footer-col--social::before,
.footer-col--news::before{
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 96px;
    background-color: rgba(255, 255, 255, .32);
    transform: translateY(-50%);
}

/* Colonne 1 : signature manuscrite */
.footer-script{
    font-family: var(--font-script);
    font-size: 28px;
    font-weight: 500;
    line-height: 1.65;
    color: #FFF4EB;
}

.footer-heart{
    display: block;
    width: 22px;
    height: 22px;
    margin-top: 10px;
    margin-left: 24px;
    color: rgba(255, 255, 255, .9);
}

.footer-heart svg{
    width: 100%;
    height: 100%;
    stroke-width: 1.4;
}

/* Colonnes 2 & 3 : titres */
.footer-col--social,
.footer-col--news{
    text-align: center;
}

.footer-title{
    font-family: var(--font-body);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 1.7px;
    line-height: 1;
    text-transform: uppercase;
    color: var(--white);
}

/* Colonne 2 : réseaux */
.footer-social{
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.footer-social-link{
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: var(--primary);
    background-color: #FDF5EC;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.footer-social-link svg{
    width: 18px;
    height: 18px;
    stroke-width: 1.6;
}

.footer-social-link:hover{
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(120, 40, 12, .25);
}

/* Colonne 3 : newsletter */
.footer-text{
    margin-top: 13px;
    font-size: 12.5px;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, .95);
}

.footer-col--news .btn{
    margin-top: 16px;
}

/* ---- Barre inférieure ---- */
.footer-bottom{
    background-color: var(--primary-dark);
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 15px 0;
}

.footer-bottom-inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 11.5px;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, .92);
}

.footer-links{
    display: flex;
    gap: 38px;
}

.footer-links a{
    transition: color .3s var(--ease);
}

.footer-links a:hover{
    color: #FFE2D2;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-made{
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-made-heart{
    display: inline-flex;
    width: 14px;
    height: 14px;
    color: #FFD3BE;
}

.footer-made-heart svg{
    width: 100%;
    height: 100%;
    fill: currentColor;
    stroke: none;
}


/* =============================================================
   09. PAGES INTÉRIEURES
   ============================================================= */
.page-hero{
    padding: 74px 0 60px;
    text-align: center;
    background-color: var(--background);
}

.page-hero .section-script{
    margin-bottom: 6px;
}

.page-title{
    font-size: 42px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--text);
}

.page-hero .section-rule{
    margin-top: 18px;
}

.page-body{
    padding: 56px 0 72px;
    background-color: var(--background-alt);
}

.page-content{
    max-width: 760px;
    margin: 0 auto;
}

.page-content h2{
    margin: 34px 0 12px;
    font-size: 24px;
}

.page-content h3{
    margin: 26px 0 10px;
    font-size: 19px;
}

.page-content p{
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.95;
}

.page-content .btn{
    margin-top: 12px;
}

/* ---- Formulaire (page contact) ---- */
.form{
    max-width: 620px;
    margin: 0 auto;
}

.form-row{
    margin-bottom: 18px;
}

.form-label{
    display: block;
    margin-bottom: 7px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--text);
}

.form-input,
.form-textarea{
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 300;
    color: var(--text);
    background-color: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.form-textarea{
    min-height: 150px;
    resize: vertical;
}

.form-input:focus,
.form-textarea:focus{
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(226, 85, 28, .12);
    outline: none;
}

.form-feedback{
    margin-bottom: 18px;
    padding: 13px 16px;
    font-size: 13px;
    border-radius: var(--radius-sm);
}

.form-feedback--ok{
    color: #1E6B3C;
    background-color: #E7F5EC;
    border: 1px solid #BFE2CC;
}

.form-feedback--error{
    color: #9A2B12;
    background-color: #FBEAE4;
    border: 1px solid #F0C6B7;
}

/* ---- Grille d'articles (page blog) ---- */
.post-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.post{
    overflow: hidden;
    background-color: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

.post:hover{
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(44, 33, 26, .11);
}

.post-media{
    height: 200px;
    overflow: hidden;
}

.post-media img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s var(--ease);
}

.post:hover .post-media img{
    transform: scale(1.05);
}

.post-body{
    padding: 22px 24px 26px;
}

.post-date{
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: var(--orange);
}

.post-title{
    margin: 9px 0 10px;
    font-size: 20px;
    line-height: 1.35;
}

.post-excerpt{
    font-size: 13px;
    line-height: 1.9;
}
