/* =======================================================
   STÉPHANE STOECKLIN
   VERSION PREMIUM
   ======================================================= */

:root{

    --primary:#234A63;
    --secondary:#315F7D;
    --accent:#5E88A8;

    --dark:#18232D;
    --text:#2C3640;
    --light:#F6F8FA;
    --white:#FFFFFF;

    --radius:20px;

    --shadow:0 20px 50px rgba(0,0,0,.08);

    --transition:.35s ease;

    --max-width:1200px;

}

/* =======================================================
   RESET
   ======================================================= */

*{

margin:0;

padding:0;

box-sizing:border-box;

}

html{

scroll-behavior:smooth;

}

body{

font-family:'Inter',sans-serif;

background:var(--light);

color:var(--text);

line-height:1.7;

font-size:18px;

overflow-x:hidden;

}

img{

max-width:100%;

display:block;

}

a{

text-decoration:none;

color:inherit;

}

ul{

list-style:none;

}

/* =======================================================
   CONTAINER
   ======================================================= */

.container{

width:min(var(--max-width),92%);

margin:auto;

}

/* =======================================================
   TITRES
   ======================================================= */

h1{

font-size:clamp(58px,8vw,92px);

line-height:.95;

font-weight:800;

margin-bottom:30px;

}

h2{

font-size:clamp(36px,5vw,54px);

font-weight:800;

margin-bottom:25px;

}

h3{

font-size:26px;

font-weight:700;

margin-bottom:15px;

}

p{

color:#617081;

}

/* =======================================================
   BOUTONS
   ======================================================= */

.btn-primary{

display:inline-flex;

align-items:center;

justify-content:center;

padding:18px 34px;

background:var(--primary);

color:white;

border-radius:50px;

font-weight:700;

transition:var(--transition);

}

.btn-primary:hover{

transform:translateY(-4px);

box-shadow:0 15px 30px rgba(35,74,99,.25);

}

.btn-secondary{

display:inline-flex;

align-items:center;

justify-content:center;

padding:18px 34px;

border:2px solid var(--primary);

border-radius:50px;

font-weight:700;

transition:var(--transition);

}

.btn-secondary:hover{

background:var(--primary);

color:white;

}

/* =======================================================
   NAVBAR
   ======================================================= */

.navbar{

position:fixed;

top:0;

left:0;

right:0;

height:80px;

display:flex;

align-items:center;

justify-content:space-between;

padding:0 5%;

background:rgba(255,255,255,.85);

backdrop-filter:blur(14px);

z-index:1000;

box-shadow:0 2px 25px rgba(0,0,0,.05);

}

.logo{

width:52px;

height:52px;

display:flex;

justify-content:center;

align-items:center;

border-radius:50%;

background:var(--primary);

color:white;

font-weight:800;

font-size:20px;

}

.navbar ul{

display:flex;

gap:40px;

}

.navbar li{

font-weight:600;

}

.navbar a{

transition:.3s;

}

.navbar a:hover{

color:var(--primary);

}

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

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    padding-top:80px;
    box-sizing:border-box;
}

.hero-container{

display:grid;

grid-template-columns:1.3fr .7fr;

gap:80px;

align-items:center;

}

.badge{

display:inline-block;

padding:10px 18px;

border-radius:40px;

background:#EAF1F5;

color:var(--primary);

font-size:14px;

font-weight:700;

letter-spacing:1px;

margin-bottom:35px;

text-transform:uppercase;

}

.hero-text{

font-size:22px;

max-width:650px;

margin-bottom:45px;

}

.hero-buttons{

display:flex;

gap:20px;

flex-wrap:wrap;

}

.experience-card{

background:white;

padding:60px;

border-radius:30px;

box-shadow:var(--shadow);

text-align:center;

}

.experience-number{

font-size:90px;

font-weight:800;

color:var(--primary);

line-height:1;

}

.experience-label{

margin-top:15px;

font-size:18px;

letter-spacing:2px;

font-weight:700;

color:#6A7786;

text-transform:uppercase;

}
/* =======================================================
   SECTIONS
======================================================= */

.section{

    padding:140px 0;

}

.section.light{

    background:#F7F9FB;

}

.section.dark{

    background:var(--dark);

    color:white;

}

.section.dark p{

    color:rgba(255,255,255,.75);

}

.section-header{

    max-width:850px;

    margin:0 auto 80px;

}

.section-header.center{

    text-align:center;

}

.section-label{

    display:inline-block;

    margin-bottom:18px;

    color:var(--primary);

    font-size:14px;

    font-weight:800;

    letter-spacing:2px;

    text-transform:uppercase;

}

.section.dark .section-label{

    color:#8DB4CF;

}

/* =======================================================
   EXPERIENCE
======================================================= */

.experience-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:35px;

}

.experience-card-item{

    background:white;

    border-radius:var(--radius);

    padding:40px;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.experience-card-item:hover{

    transform:translateY(-10px);

}

.experience-card-item h3{

    color:var(--primary);

}

/* =======================================================
   EXPERTISE
======================================================= */

.expertise-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

}

.expertise-item{

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    border-radius:var(--radius);

    padding:35px;

    transition:var(--transition);

}

.expertise-item:hover{

    background:rgba(255,255,255,.08);

    transform:translateY(-6px);

}

.expertise-item h3{

    color:white;

    margin-bottom:18px;

}

/* =======================================================
   CHIFFRES
======================================================= */

.stats-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:30px;

}

.stat{

    background:white;

    border-radius:var(--radius);

    padding:45px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.stat:hover{

    transform:translateY(-8px);

}

.stat h3{

    font-size:64px;

    color:var(--primary);

    margin-bottom:10px;

}

.stat p{

    font-size:18px;

}

/* =======================================================
   TIMELINE
======================================================= */

.timeline{

    position:relative;

    max-width:900px;

    margin:auto;

    padding-left:70px;

}

.timeline::before{

    content:"";

    position:absolute;

    left:22px;

    top:0;

    bottom:0;

    width:4px;

    background:var(--primary);

    border-radius:10px;

}

.timeline-item{

    position:relative;

    margin-bottom:70px;

}

.timeline-item:last-child{

    margin-bottom:0;

}

.timeline-date{

    position:absolute;

    left:-50px;

    top:-50px;

    width:90px;

    text-align:right;

    color:var(--primary);

    font-weight:700;

}

.timeline-content{

    background:white;

    border-radius:22px;

    padding:35px;

    box-shadow:var(--shadow);

    position:relative;

    transition:var(--transition);

}

.timeline-content:hover{

    transform:translateX(8px);

}

.timeline-content::before{

    content:"";

    position:absolute;

    left:-42px;

    top:28px;

    width:18px;

    height:18px;

    border-radius:50%;

    background:var(--primary);

    border:5px solid white;

    box-shadow:0 0 0 5px rgba(35,74,99,.12);

}
/* =======================================================
   POURQUOI MOI
======================================================= */

.why-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:35px;

}

.why-grid article{

    background:white;

    padding:40px;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

    transition:var(--transition);

    border-top:5px solid var(--primary);

}

.why-grid article:hover{

    transform:translateY(-8px);

}

.why-grid h3{

    color:var(--primary);

}

/* =======================================================
   DOMAINES
======================================================= */

.domain-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:30px;

}

.domain-card{

    background:white;

    border-radius:var(--radius);

    padding:40px;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.domain-card:hover{

    transform:translateY(-10px);

}

.domain-card h3{

    color:var(--primary);

}

/* =======================================================
   VALEURS
======================================================= */

.values-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));

    gap:30px;

}

.value{

    padding:35px;

    border-radius:20px;

    text-align:center;

    background:rgba(255,255,255,.06);

    border:1px solid rgba(255,255,255,.08);

    transition:var(--transition);

}

.value:hover{

    background:rgba(255,255,255,.10);

}

.value h3{

    color:white;

}

/* =======================================================
   MÉTHODE
======================================================= */

.steps{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:30px;

}

.step{

    background:white;

    border-radius:25px;

    padding:40px;

    box-shadow:var(--shadow);

    transition:var(--transition);

    position:relative;

    overflow:hidden;

}

.step:hover{

    transform:translateY(-10px);

}

.step-number{

    font-size:70px;

    font-weight:800;

    color:#E6EDF2;

    line-height:1;

    margin-bottom:20px;

}

.step h3{

    color:var(--primary);

}

/* =======================================================
   CITATION
======================================================= */

#citation{

    text-align:center;

}

#citation blockquote{

    font-size:clamp(34px,5vw,54px);

    line-height:1.35;

    font-weight:700;

    max-width:900px;

    margin:auto;

    color:white;

}

.signature{

    margin-top:45px;

    letter-spacing:4px;

    text-transform:uppercase;

    font-size:15px;

    color:#9DB7C9;

}
/* =======================================================
   TÉLÉCHARGEMENT
======================================================= */

#download{

    text-align:center;

}

#download .hero-buttons{

    justify-content:center;

    margin-top:45px;

}

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

.contact-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

    margin-top:50px;

}

.contact-card{

    background:white;

    padding:40px;

    border-radius:var(--radius);

    text-align:center;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.contact-card:hover{

    transform:translateY(-10px);

}

.contact-card h3{

    color:var(--primary);

    margin-bottom:20px;

}

.contact-card a{

    color:var(--text);

    font-weight:600;

    transition:var(--transition);

}

.contact-card a:hover{

    color:var(--primary);

}

/* =======================================================
   CALL TO ACTION
======================================================= */

#cta{

    text-align:center;

}

#cta h2{

    max-width:800px;

    margin:0 auto 30px;

}

#cta p{

    max-width:700px;

    margin:0 auto 45px;

    color:rgba(255,255,255,.80);

}

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

footer{

    background:#10181F;

    color:white;

    padding:70px 0 30px;

}

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr;

    gap:60px;

}

.footer-grid h3,

.footer-grid h4{

    color:white;

    margin-bottom:20px;

}

.footer-grid p{

    color:rgba(255,255,255,.70);

}

.footer-grid ul{

    display:flex;

    flex-direction:column;

    gap:14px;

}

.footer-grid a{

    color:rgba(255,255,255,.70);

    transition:var(--transition);

}

.footer-grid a:hover{

    color:white;

}

.copyright{

    margin-top:60px;

    padding-top:30px;

    text-align:center;

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

    color:rgba(255,255,255,.50);

    font-size:14px;

}

/* =======================================================
   BOUTON RETOUR EN HAUT
======================================================= */

#backToTop{

    position:fixed;

    right:30px;

    bottom:30px;

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    background:var(--primary);

    color:white;

    font-size:22px;

    cursor:pointer;

    opacity:0;

    visibility:hidden;

    transform:translateY(20px);

    transition:var(--transition);

    box-shadow:0 15px 35px rgba(0,0,0,.18);

    z-index:999;

}

#backToTop.show{

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}

#backToTop:hover{

    background:var(--secondary);

}
/* =======================================================
   ANIMATIONS
======================================================= */

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(50px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

@keyframes fadeLeft{

    from{

        opacity:0;

        transform:translateX(-60px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}

@keyframes fadeRight{

    from{

        opacity:0;

        transform:translateX(60px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}

.hero-left{

    animation:fadeLeft .9s ease;

}

.hero-right{

    animation:fadeRight .9s ease;

}

.section-header,
.experience-card-item,
.expertise-item,
.domain-card,
.value,
.step,
.contact-card,
.stat,
.timeline-content{

    animation:fadeUp .8s ease both;

}

/* =======================================================
   SURVOLS
======================================================= */

.experience-card-item:hover,
.domain-card:hover,
.contact-card:hover,
.stat:hover,
.step:hover,
.why-grid article:hover{

    box-shadow:0 30px 60px rgba(0,0,0,.12);

}

.timeline-content:hover{

    box-shadow:0 25px 50px rgba(0,0,0,.12);

}

.btn-primary:active,
.btn-secondary:active{

    transform:scale(.98);

}

/* =======================================================
   SÉLECTION
======================================================= */

::selection{

    background:var(--primary);

    color:white;

}

/* =======================================================
   BARRE DE DÉFILEMENT
======================================================= */

::-webkit-scrollbar{

    width:12px;

}

::-webkit-scrollbar-track{

    background:#EEF2F5;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--secondary);

}

/* =======================================================
   LIENS
======================================================= */

a{

    transition:var(--transition);

}

a:hover{

    color:var(--primary);

}

/* =======================================================
   UTILITAIRES
======================================================= */

.center{

    text-align:center;

}

.mt-1{margin-top:10px;}
.mt-2{margin-top:20px;}
.mt-3{margin-top:30px;}
.mt-4{margin-top:40px;}
.mt-5{margin-top:50px;}

.mb-1{margin-bottom:10px;}
.mb-2{margin-bottom:20px;}
.mb-3{margin-bottom:30px;}
.mb-4{margin-bottom:40px;}
.mb-5{margin-bottom:50px;}

.hidden{

    display:none;

}

.shadow{

    box-shadow:var(--shadow);

}

.radius{

    border-radius:var(--radius);

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

@media (max-width:1100px){

.hero-container{

grid-template-columns:1fr;

gap:60px;

text-align:center;

}

.hero-text{

margin:auto auto 40px;

}

.hero-buttons{

justify-content:center;

}

.experience-card{

max-width:420px;

margin:auto;

}

.footer-grid{

grid-template-columns:1fr;

text-align:center;

gap:40px;

}

.timeline{

padding-left:40px;

}

.timeline-date{

position:relative;

left:0;

top:0;

width:auto;

text-align:left;

margin-bottom:15px;

}

.timeline::before{

left:8px;

}

.timeline-content::before{

left:-27px;

}

}

@media (max-width:768px){

body{

font-size:16px;

}

.navbar{

padding:0 20px;

height:70px;

}

.navbar ul{

display:none;

}

.logo{

width:45px;

height:45px;

font-size:18px;

}

.section{

padding:90px 0;

}

h1{

font-size:52px;

}

h2{

font-size:36px;

}

.hero{

padding-top:90px;

}

.hero-buttons{

flex-direction:column;

align-items:center;

}

.btn-primary,

.btn-secondary{

width:100%;

max-width:320px;

}

.experience-grid,

.expertise-grid,

.domain-grid,

.values-grid,

.steps,

.contact-grid,

.why-grid,

.stats-grid{

grid-template-columns:1fr;

}

.timeline{

padding-left:30px;

}

.timeline::before{

left:5px;

}

.timeline-content::before{

left:-23px;

}

.experience-card{

padding:40px;

}

.experience-number{

font-size:70px;

}

#backToTop{

right:20px;

bottom:20px;

width:48px;

height:48px;

}

}

@media (max-width:480px){

.container{

width:94%;

}

h1{

font-size:42px;

}

h2{

font-size:30px;

}

.hero-text{

font-size:18px;

}

.section-header{

margin-bottom:50px;

}

.experience-card,

.experience-card-item,

.domain-card,

.value,

.step,

.contact-card,

.timeline-content,

.stat{

padding:28px;

}

.badge{

font-size:12px;

padding:8px 14px;

}

.footer-grid{

gap:25px;

}

}

/* =======================================================
   IMPRESSION
======================================================= */

@media print{

.navbar,
#backToTop,
.hero-buttons,
footer{

display:none !important;

}

body{

background:white;

color:black;

}

.section{

padding:25px 0;

page-break-inside:avoid;

}

.experience-card,
.timeline-content,
.domain-card,
.contact-card,
.stat{

box-shadow:none;

border:1px solid #ddd;

}

a{

color:black;

text-decoration:none;

}

}

/* =======================================================
   MENU HAMBURGER PREMIUM
======================================================= */

.menu-toggle{

    width:54px;
    height:54px;

    border:none;

    border-radius:50%;

    background:var(--primary);

    color:white;

    font-size:28px;

    cursor:pointer;

    display:flex;

    align-items:center;

    justify-content:center;

    transition:.3s;

}

.menu-toggle:hover{

    background:var(--secondary);

    transform:rotate(90deg);

}

.menu-panel{

    position:fixed;

    top:0;

    right:-420px;

    width:380px;

    max-width:90vw;

    height:100vh;

    background:white;

    box-shadow:-20px 0 50px rgba(0,0,0,.15);

    z-index:3000;

    transition:.35s ease;

    display:flex;

    flex-direction:column;

    padding:90px 50px;

}

.menu-panel.open{

    right:0;

}

.menu-panel ul{

    display:flex;

    flex-direction:column;

    gap:22px;

}

.menu-panel li{

    list-style:none;

}

.menu-panel a{

    display:block;

    font-size:22px;

    font-weight:600;

    color:var(--text);

    transition:.25s;

}

.menu-panel a:hover{

    color:var(--primary);

    transform:translateX(8px);

}

.menu-close{

    position:absolute;

    top:22px;

    right:22px;

    width:48px;

    height:48px;

    border:none;

    border-radius:50%;

    background:var(--primary);

    color:white;

    font-size:22px;

    cursor:pointer;

}

.menu-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.45);

    backdrop-filter:blur(5px);

    opacity:0;

    visibility:hidden;

    transition:.35s;

    z-index:2500;

}

.menu-overlay.show{

    opacity:1;

    visibility:visible;

}

body.menu-open{

    overflow:hidden;

}

/* Cache uniquement l'ancien menu horizontal */

.navbar > ul{

    display:none;

}

/* Affiche le menu latéral */

.menu-panel ul{

    display:flex !important;

    flex-direction:column;

    gap:22px;

    margin:0;

    padding:0;

}

.menu-panel li{

    display:block;

}

.menu-panel a{

    display:block;

    color:var(--text);

    font-size:22px;

    font-weight:600;

}

}

/* smartphone */

@media (max-width:768px){

.menu-panel{

    width:100%;

    max-width:none;

    padding:80px 35px;

}

.menu-panel a{

    font-size:20px;

}

/*==================================================
BOUTON CV CENTRÉ
==================================================*/

.hero-buttons-center{

    display:flex;

    justify-content:center;

    align-items:center;

    margin-top:30px;

}

.hero-buttons-center .btn-primary{

    min-width:280px;

    text-align:center;

}

/*==================================================
 HERO CENTRÉ
==================================================*/

.hero{

    align-items:center;

}

.hero-left{

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    text-align:center;

}

.hero-left h1{

    text-align:center;
    max-width:800px;

}

.hero-left p{

    max-width:720px;
    margin:25px auto;

    text-align:center;

}

.hero-buttons{

    justify-content:center;
    margin-top:35px;

}

.hero-right{

    display:flex;
    justify-content:center;
    align-items:center;

}

.hero-card{

    margin:0 auto;

    text-align:center;

}

.hero-card{

    width:320px;

}

.hero-right{

    width:100%;
}

/*masquer le logo */

.logo{
    display:none !important;
}
