/* =========================================================
   FATIWEB — À PROPOS
   CSS séparé
   ========================================================= */

:root{
    --navy:#12356f;
    --blue:#1677ed;
    --blue-light:#edf6ff;
    --gold:#c99a52;
    --beige:#faf7ef;
    --text:#193866;
    --muted:#61779c;
    --white:#ffffff;
    --dark:#091b37;
}

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    color:var(--text);
    background:#fff;
    overflow-x:hidden;
}

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

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


/* =========================================================
   HEADER
   Le menu de cette page utilise désormais le fichier partagé
   du site (includes/header.php + css/header.css).
   ========================================================= */

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

.about-hero{
    min-height:650px;
    overflow:hidden;
    position:relative;

    background:
        radial-gradient(circle at 2% 30%, #eaf5ff 0, transparent 27%),
        linear-gradient(
            110deg,
            #ffffff 0%,
            #ffffff 44%,
            #f1f7ff 100%
        );
}

.about-hero-inner{
    width:min(1180px,92%);
    min-height:650px;
    margin:auto;

    display:grid;
    grid-template-columns:46% 54%;
    align-items:center;
}

.hero-content{
    position:relative;
    z-index:5;
    padding:60px 25px 60px 0;
}

.hero-script{
    font-family:"Brush Script MT","Segoe Script",cursive;
    font-size:30px;
    line-height:1.15;
    color:var(--navy);
    margin-bottom:14px;
}

.gold-line{
    width:130px;
    height:4px;
    background:var(--gold);
    border-radius:20px;
    transform:rotate(-4deg);
    margin:0 0 28px 10px;
}

.eyebrow{
    color:var(--blue);
    font-size:13px;
    font-weight:900;
    letter-spacing:3px;
    margin-bottom:14px;
}

.hero-content h1{
    color:var(--navy);
    font-size:clamp(48px,5.4vw,75px);
    line-height:.98;
    letter-spacing:-4px;
    margin-bottom:25px;
}

.hero-content h1 span{
    color:var(--blue);
}

.hero-content > p{
    max-width:545px;
    color:#536b92;
    font-size:18px;
    line-height:1.7;
    margin-bottom:28px;
}

.primary-btn{
    display:inline-flex;
    align-items:center;
    background:var(--blue);
    color:#fff;
    padding:15px 25px;
    border-radius:30px;
    font-weight:800;
    box-shadow:0 13px 28px rgba(22,119,237,.22);
}


/* =========================================================
   IMAGE + BEIGE CONTOUR
   ========================================================= */

.hero-visual{
    position:relative;
    min-height:650px;
    height:100%;
}

/*
    Beige layer:
    Elle est volontairement PLUS GRANDE que la photo.
    C'est elle qui crée le contour beige visible autour
    de l'image.
*/

.beige-shape{
    position:absolute;

    width:119%;
    height:113%;

    top:-7%;
    right:-25%;

    background:linear-gradient(135deg, #f8f0e3 0%, #f3e8d5 45%, #efe2c8 100%);
    border:1.5px solid rgba(183,146,82,0.65);
    box-shadow:
        inset 0 0 0 12px rgba(255,255,255,0.28),
        0 30px 60px rgba(16,47,104,.10);

    border-radius:
        57% 0 0 46% /
        58% 0 0 49%;

    transform:rotate(-4deg);

    z-index:1;
}


/*
    Photo:
    La photo est au-dessus du contour beige.
    Une bordure dorée luxe l'encadrement.
*/

.hero-photo{
    position:absolute;

    width:96%;
    height:89%;

    top:5%;
    right:-2%;

    overflow:hidden;
    padding:12px;

    background:linear-gradient(135deg, rgba(249,230,183,0.92) 0%, rgba(198,154,83,0.78) 35%, rgba(247,232,196,0.92) 100%);

    /*
       Courbe principale exactement dans l'esprit
       de la maquette.
    */
    border-radius:
        50% 0 0 43% /
        49% 0 0 48%;

    z-index:2;

    box-shadow:
        0 0 0 2px rgba(196,150,77,0.7),
        0 25px 65px rgba(16,47,104,.12),
        inset 0 0 0 1px rgba(255,255,255,0.35);
}

.hero-photo::before{
    content:"";
    position:absolute;
    inset:10px 12px 10px 10px;
    border:1.5px solid rgba(203,165,99,0.9);
    border-radius:
        46% 0 0 39% /
        46% 0 0 46%;
    pointer-events:none;
    z-index:3;
}

.hero-photo img{
    position:relative;
    z-index:1;
    width:100%;
    height:100%;

    object-fit:cover;
    border-radius:
        42% 0 0 37% /
        42% 0 0 43%;

    /*
       Modifier cette valeur si le cadrage de ta photo
       doit être déplacé vers le haut/bas.
    */
    object-position:center center;
}


/* =========================================================
   STATS
   ========================================================= */

.stats{
    width:min(1080px,90%);
    margin:-38px auto 95px;

    position:relative;
    z-index:10;

    background:#fff;

    border:1px solid #dfeaf7;
    border-radius:30px;

    box-shadow:0 18px 45px rgba(16,47,104,.09);

    display:grid;
    grid-template-columns:repeat(4,1fr);

    padding:25px 10px;
}

.stat{
    text-align:center;
    border-right:1px solid #d7e4f3;
}

.stat:last-child{
    border-right:none;
}

.stat strong{
    display:block;
    color:var(--navy);
    font-size:30px;
    margin-bottom:4px;
}

.stat span{
    color:var(--muted);
    font-size:13px;
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.section{
    width:min(1180px,92%);
    margin:0 auto 105px;
}

.section-label{
    color:var(--blue);
    font-size:12px;
    font-weight:900;
    letter-spacing:3px;
    margin-bottom:13px;
}


/* =========================================================
   MISSION / VISION
   ========================================================= */

.mission-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:55px;
    align-items:center;
}

.mission-card{
    min-height:330px;
    padding:55px;

    color:#fff;
    background:var(--navy);

    border-radius:55px 15px 55px 15px;

    position:relative;
    overflow:hidden;
}

.mission-card:after{
    content:"";

    position:absolute;
    width:230px;
    height:230px;

    right:-90px;
    bottom:-95px;

    border:35px solid rgba(22,119,237,.18);
    border-radius:50%;
}

.mission-card .section-label{
    color:#91c9ff;
}

.mission-card h2,
.vision-card h2{
    color:var(--navy);
    font-size:43px;
    line-height:1.05;
    letter-spacing:-1.5px;
    margin-bottom:18px;
}

.mission-card h2{
    color:#fff;
}

.mission-card h2 span,
.vision-card h2 span{
    color:var(--blue);
}

.mission-card p{
    color:#d7e5f7;
    font-size:16px;
    line-height:1.8;
}

.vision-card{
    padding:20px;
}

.vision-card p{
    color:var(--muted);
    font-size:16px;
    line-height:1.8;
}


/* =========================================================
   VALUES
   ========================================================= */

.values-section{
    padding:85px 0 95px;

    background:
        linear-gradient(
            180deg,
            #f4faff 0%,
            #ffffff 100%
        );

    border-top:1px solid #edf3fa;
    border-bottom:1px solid #edf3fa;

    margin-bottom:105px;
}

.section-heading{
    text-align:center;
}

.section-heading h2{
    color:var(--navy);
    font-size:43px;
    line-height:1.1;
}

.section-heading h2 span{
    color:var(--blue);
}

.values-grid{
    width:min(1120px,90%);
    margin:50px auto 0;

    display:grid;
    grid-template-columns:repeat(4,1fr);
}

.value-card{
    text-align:center;
    padding:15px 28px;

    border-right:1px solid #dce5f0;
}

.value-card:last-child{
    border-right:none;
}

.value-icon{
    width:75px;
    height:75px;

    display:grid;
    place-items:center;

    margin:0 auto 17px;

    border-radius:50%;
    background:#e7f3ff;

    font-size:30px;
}

.value-card:nth-child(even) .value-icon{
    background:#f5ead9;
}

.value-card h3{
    color:var(--navy);
    font-size:20px;
    margin-bottom:8px;
}

.value-card p{
    color:var(--muted);
    font-size:14px;
    line-height:1.6;
}


/* =========================================================
   STORY
   ========================================================= */

.story-section{
    display:grid;
    grid-template-columns:45% 55%;
    gap:60px;
    align-items:center;
}

.story-image-wrap{
    width:100%;
    height:450px;
    overflow:hidden;

    border-radius:18px 70px 18px 70px;

    box-shadow:0 20px 50px rgba(16,47,104,.12);
}

.story-image-wrap img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.story-content h2{
    color:var(--navy);
    font-size:44px;
    line-height:1.05;
    margin:8px 0 18px;
}

.story-content h2 span{
    color:var(--blue);
}

.story-content > p{
    color:var(--muted);
    font-size:16px;
    line-height:1.8;
}

.timeline{
    margin-top:28px;
    padding-left:27px;
    border-left:2px solid #cfe0f5;
}

.timeline-item{
    position:relative;
    margin-bottom:20px;
}

.timeline-item:before{
    content:"";

    position:absolute;

    width:10px;
    height:10px;

    left:-33px;
    top:7px;

    border-radius:50%;
    background:var(--blue);
}

.timeline-item strong{
    color:var(--blue);
    font-size:14px;
}

.timeline-item p{
    color:var(--muted);
    font-size:13px;
    margin-top:3px;
}


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

.cta-section{
    width:min(1180px,92%);
    min-height:310px;

    margin:0 auto 90px;

    background:var(--navy);
    color:#fff;

    border-radius:38px;

    overflow:hidden;

    display:grid;
    grid-template-columns:60% 40%;
}

.cta-content{
    padding:55px;
}

.cta-script{
    font-family:"Brush Script MT","Segoe Script",cursive;
    color:#a8d3ff;
    font-size:27px;
}

.cta-content h2{
    font-size:42px;
    line-height:1.1;
    margin:8px 0 15px;
}

.cta-content p{
    color:#d5e2f5;
    max-width:590px;
    line-height:1.7;
    margin-bottom:25px;
}

.cta-btn{
    display:inline-flex;
    padding:14px 24px;

    background:#fff;
    color:var(--navy);

    border-radius:30px;
    font-weight:800;
}

.cta-photo{
    min-height:310px;

    background:
        linear-gradient(
            110deg,
            rgba(16,47,104,.08),
            rgba(22,119,237,.45)
        ),
        url("../images/about-hero.jpg") center/cover;

    clip-path:ellipse(78% 88% at 100% 50%);
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer{
    background:#0b1730;
    color:#dbe7f7;
    padding:52px 0 25px;
}

.footer-grid{
    width:min(1180px,92%);
    margin:auto;

    display:grid;
    grid-template-columns:1.5fr 1fr 1fr 1.2fr;
    gap:42px;
}

.footer-logo{
    color:#fff;
    font-size:30px;
    font-weight:900;
}

.footer-logo span{
    color:#2f8cff;
}

.footer h3{
    color:#fff;
    font-size:15px;
    margin-bottom:14px;
}

.footer p,
.footer a{
    color:#9db0cd;
    font-size:14px;
    line-height:1.7;
}

.footer a{
    display:block;
    margin-bottom:7px;
}

.footer-bottom{
    width:min(1180px,92%);
    margin:32px auto 0;

    padding-top:18px;

    border-top:1px solid rgba(255,255,255,.12);

    color:#8195b4;
    font-size:12px;
    text-align:center;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media(max-width:950px){

    .navigation{
        display:none;
    }

    .about-hero-inner,
    .mission-grid,
    .story-section,
    .cta-section{
        grid-template-columns:1fr;
    }

    .about-hero{
        min-height:auto;
    }

    .about-hero-inner{
        min-height:auto;
    }

    .hero-content{
        padding:60px 0 25px;
    }

    .hero-visual{
        min-height:520px;
    }

    .hero-photo{
        width:94%;
        height:91%;
    }

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

    .stat{
        padding:15px;
    }

    .stat:nth-child(2){
        border-right:none;
    }

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

    .value-card:nth-child(2){
        border-right:none;
    }

    .story-image-wrap{
        height:380px;
    }

    .cta-photo{
        min-height:260px;
    }

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


@media(max-width:560px){

    .logo{
        font-size:29px;
    }

    .hero-content h1{
        font-size:48px;
    }

    .hero-script{
        font-size:25px;
    }

    .hero-content > p{
        font-size:16px;
    }

    .hero-visual{
        min-height:430px;
    }

    .hero-photo{
        width:96%;
        height:92%;
        right:-2%;
    }

    .beige-shape{
        width:120%;
        right:-28%;
    }

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

    .stat,
    .stat:nth-child(2){
        border-right:none;
        border-bottom:1px solid #d7e4f3;
    }

    .stat:last-child{
        border-bottom:none;
    }

    .mission-card{
        padding:35px;
    }

    .mission-card h2,
    .vision-card h2,
    .section-heading h2,
    .story-content h2,
    .cta-content h2{
        font-size:35px;
    }

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

    .value-card{
        border-right:none;
        border-bottom:1px solid #dce5f0;
        padding:25px;
    }

    .value-card:last-child{
        border-bottom:none;
    }

    .story-image-wrap{
        height:350px;
    }

    .story-content{
        padding-top:15px;
    }

    .cta-content{
        padding:38px;
    }

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