/* =====================================================
VARIABLES
===================================================== */

:root{
--bg:#f4f5f7;
--white:#ffffff;
--text:#111827;
--muted:#6b7280;
--line:#d9dde3;
--navy:#0f172a;
--blue:#163a70;
--blue-light:#1f4f95;
--cta:#c62828;
--cta-dark:#a61f1f;
--max:1360px;
}

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

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

html{
scroll-behavior:smooth;
scroll-padding-top:85px;
}

body{
font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
background:var(--bg);
color:var(--text);
line-height:1.5;

padding-top:86px;
}

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

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

.container{
width:min(var(--max), calc(100% - 48px));
margin:0 auto;
}

.intro-right{
background:#f8fafc;
border:1px solid #e6ebf2;
border-radius:8px;
padding:24px;
}

.section-heading h2::after,
.intro-left h2::after{
content:"";
display:block;
width:60px;
height:3px;
background:var(--blue);
margin-top:10px;
}

/* =====================================================
HEADER
===================================================== */

.site-header{
background:var(--white);
border-bottom:1px solid #e7eaf0;
}

.header-inner{
min-height:86px;
display:grid;
grid-template-columns:auto 1fr auto auto;
align-items:center;
gap:24px;
}

.brand img{
height:56px;
width:auto;
}

.brand{
display:flex;
align-items:center;
gap:14px;
}

.tagline{
font-style:italic;
font-size:13px;
color:var(--muted);
letter-spacing:.04em;
white-space:nowrap;
}

/* navigation */

.main-nav{
display:flex;
justify-self:center;
gap:32px;
}

.main-nav a{
font-size:14px;
font-weight:700;
color:#243041;
letter-spacing:.04em;
text-transform:uppercase;
position:relative;
}

.main-nav a::after{
content:"";
position:absolute;
left:0;
bottom:-6px;
width:0;
height:2px;
background:var(--blue);
transition:width .25s ease;
}

.main-nav a:hover::after{
width:100%;
}

/* bouton client */

.header-cta{
padding:10px 20px;
background:#0f172a;
color:#fff;
font-size:14px;
font-weight:700;
display:flex;
align-items:center;
gap:8px;
border-radius:6px;
transition:all .25s ease;
}

.header-cta:hover{
background:#1e293b;
transform:translateY(-1px);
}

.client-btn{
display:flex;
align-items:center;
gap:8px;
background:#1e293b;
}

.client-btn:hover{
background:#0f172a;
}

.icon svg{
display:block;
}

header{
position:fixed;
top:0;
left:0;
width:100%;
z-index:1000;

transition:all .3s ease;
}

header.scrolled{
background:#ffffff;
box-shadow:0 2px 10px rgba(0,0,0,0.05);
}

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

.hero{
position:relative;
min-height:580px;
background:
linear-gradient(100deg, rgba(15,23,42,.88) 0%, rgba(15,23,42,.78) 35%, rgba(15,23,42,.35) 70%, rgba(15,23,42,.05) 100%),
url('../images/hero-exnet.jpg') center center / cover no-repeat;
color:#fff;
display:flex;
align-items:center;
background-size:cover;
background-position:center;
will-change:background-position;
overflow:hidden;
}

.hero-content{
max-width:820px;
padding:70px 0;
}

.hero-kicker{
display:inline-block;
margin-bottom:18px;
padding:8px 14px;
background:rgba(255,255,255,0.06);
border:1px solid rgba(255,255,255,.12);
backdrop-filter:blur(6px);
font-size:12px;
font-weight:600;
letter-spacing:.10em;
text-transform:uppercase;
color:#f1f5f9;
border-radius:6px;
}

.hero h1{
font-size:44px;
font-weight:600;
line-height:1.15;
letter-spacing:-0.02em;
margin-bottom:20px;
max-width:700px;
}

.hero p{
max-width:640px;
font-size:17px;
color:#dbe4f0;
margin-bottom:30px;
line-height:1.7;
}

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

/* boutons */

.btn{
display:inline-block;
padding:14px 22px;
font-size:14px;
font-weight:700;
border:none;
border-radius:6px;
transition:.2s ease;
cursor:pointer;
}

.btn-primary{
background:#fff;
color:var(--navy);
box-shadow:0 8px 24px rgba(0,0,0,0.15);
}

.btn-primary:hover{
transform:translateY(-2px);
box-shadow:0 12px 30px rgba(0,0,0,0.2);
}

.btn-secondary{
background:transparent;
color:#fff;
border:1px solid rgba(255,255,255,.45);
}

.btn-secondary:hover{
background:rgba(255,255,255,0.12);
}

/* =====================================================
INTRO
===================================================== */

.intro{
background:var(--white);
border-bottom:1px solid #e7eaf0;
}

.intro-grid{
display:grid;
grid-template-columns:1.1fr .9fr;
gap:48px;
padding:72px 0;
align-items:start;
}

.intro-left h2{
font-size:18px;
color:var(--blue);
text-transform:uppercase;
letter-spacing:.08em;
margin-bottom:18px;
}

.intro-left p.lead{
font-size:22px;
line-height:1.35;
letter-spacing:-0.01em;
}

.intro-right p{
font-size:17px;
color:var(--muted);
margin-bottom:16px;
}

/* =====================================================
SERVICES
===================================================== */

.services{
padding:72px 0;
background:linear-gradient(180deg,#f7f9fc 0%,#f1f5f9 100%);
border-top:1px solid #e7eaf0;
border-bottom:1px solid #e7eaf0;
}

.section-heading{
margin-bottom:40px;
}

.section-heading h2{
font-size:18px;
color:var(--blue);
text-transform:uppercase;
letter-spacing:.08em;
margin-bottom:14px;
}

.section-heading p,
.section-lead{
font-size:22px;
line-height:1.4;
letter-spacing:-0.01em;
max-width:800px;
}

.service-list{
display:flex;
flex-direction:column;
gap:32px;
}

.service-card{
background:var(--white);
border:1px solid #e5e8ee;
border-left:1px solid #e2e8f0;

padding:36px;

display:grid;
grid-template-columns:140px minmax(0,1fr) 180px;
gap:32px;
align-items:start;

border-radius:10px;
overflow:hidden;

opacity:0;
transform:translateY(20px);

transition:
transform .25s ease,
box-shadow .25s ease,
background .25s ease,
border-left .25s ease;
}

.service-card:not(.active):hover{
transform:translateY(-3px);
box-shadow:0 8px 20px rgba(0,0,0,0.06);
border-left:4px solid var(--blue);
}

.service-card.active{
box-shadow:0 10px 26px rgba(0,0,0,0.08);
border-color:#d6dee8;
border-left:4px solid var(--blue);
}

.service-card.visible{
opacity:1;
transform:translateY(0);
}

.service-logo{
display:flex;
align-items:center;
justify-content:center;
min-height:100px;
background:#f8fafc;
border:1px solid #e6ebf2;
border-radius:8px;
padding:16px;
}

.service-logo img{
max-height:88px;
object-fit:contain;
}

.service-content{
max-width:640px;
}

.service-content h3{
font-size:19px;
line-height:1.3;
font-weight:600;
letter-spacing:-0.01em;
margin-bottom:10px;
min-height:52px;
}

.service-content p{
font-size:14px;
line-height:1.6;
color:var(--muted);
margin-bottom:0;
}

.service-action{
display:flex;
justify-content:flex-end;
align-items:flex-start;
}

.service-action a{
display:flex;
align-items:center;
gap:8px;
padding:14px 22px;

border:1.5px solid var(--blue);
color:var(--blue);
background:transparent;

font-weight:700;
font-size:14px;
text-transform:uppercase;
letter-spacing:.04em;

border-radius:6px;

transition:all .25s ease;
}

.service-action a:hover{
background:var(--blue);
color:#fff;
border-color:var(--blue);
}

.arrow{
font-size:14px;
margin-left:4px;
transition:transform .3s ease;
}

.service-card.active .arrow{
transform:rotate(180deg);
}

/* accordion */

.service-details{
max-height:0;
overflow:hidden;
transition:max-height .35s ease;
background:#f8fafc;
padding:0 36px;
grid-column:1 / -1;
}

.service-details.open{
padding:36px;
max-height:800px;
border-radius:8px;
margin-top:10px;
border:1px solid #e6ebf2;
}

.service-details h4{
font-size:13px;
font-weight:600;
letter-spacing:.05em;
text-transform:uppercase;
margin-bottom:14px;
color:var(--blue);
}

.service-details p{
font-size:14px;
line-height:1.65;
color:#374151;
margin-bottom:14px;
}

.service-details .email{
font-size:17px;
font-weight:700;
color:var(--blue);
margin-top:14px;
}


/* =====================================================
QUOTE BLOCK
===================================================== */

.quote-block{
margin:60px 0 60px;
}

.quote-inner{
background:linear-gradient(135deg,var(--blue) 0%,var(--blue-light) 100%);
color:#fff;
padding:32px 48px;
display:grid;
grid-template-columns:1fr auto;
gap:24px;
align-items:center;
border-radius:6px;
}

.quote-inner h3{
font-size:32px;
margin-bottom:10px;
}

.quote-inner p{
font-size:16px;
color:#dbe7fb;
}

.quote-inner a{
padding:16px 24px;
background:#fff;
color:var(--blue);
font-size:15px;
font-weight:700;
border-radius:6px;
transition:.2s ease;
}

.quote-inner a:hover{
background:#f0f4ff;
}

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

.contact-info{
background:#fff;
border-top:1px solid #e7eaf0;
padding:70px 0;
}

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

.contact-card{
text-align:center;
padding:30px;
border:1px solid #e5e8ee;
border-radius:6px;
background:#fff;
transition:all .25s ease;
}

.contact-card:hover{
transform:translateY(-3px);
box-shadow:0 10px 24px rgba(0,0,0,0.06);
}

.contact-icon{
margin-bottom:12px;
color:var(--blue);
}

.contact-card h4{
font-size:13px;
letter-spacing:.08em;
text-transform:uppercase;
color:var(--blue);
margin-bottom:10px;
}

.contact-card p{
font-size:15px;
color:#374151;
line-height:1.6;
}

.contact-card a{
color:var(--navy);
font-weight:600;
}

.contact-card a:hover{
color:var(--blue);
}

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

.site-footer{
background:#101826;
color:#c2cad6;
padding:46px 0;
}

.footer-inner{
display:flex;
justify-content:space-between;
align-items:center;
gap:24px;
flex-wrap:wrap;
}

.footer-left{
font-size:14px;
}

.footer-right{
display:flex;
gap:22px;
flex-wrap:wrap;
font-size:14px;
}

/* =====================================================
LANGUAGE DROPDOWN
===================================================== */

.lang-dropdown{
position:relative;
}

.lang-btn{
display:flex;
align-items:center;
gap:8px;
padding:8px 12px;
border:1px solid #d7dde7;
background:#fff;
font-size:13px;
font-weight:700;
letter-spacing:.04em;
cursor:pointer;
border-radius:6px;
transition:all .2s ease;
}

.lang-btn:hover{
border-color:#cfd6df;
background:#f7f9fc;
}

.lang-icon{
display:flex;
align-items:center;
color:#6b7280;
}

.lang-icon svg{
width:16px;
height:16px;
display:block;
}

.lang-arrow{
font-size:10px;
color:#6b7280;
}

.lang-menu{
position:absolute;
top:38px;
right:0;
background:#fff;
border:1px solid #e5e8ee;
border-radius:6px;
box-shadow:0 10px 25px rgba(0,0,0,0.08);
display:none;
flex-direction:column;
min-width:120px;
z-index:10;
}

.lang-option{
padding:10px 14px;
font-size:14px;
color:#374151;
background:#fff;
border:none;
text-align:left;
cursor:pointer;
width:100%;
}

.lang-option:hover{
background:#f4f6fa;
}


/* =========================================
HERO INTRO ANIMATION
========================================= */

.hero-content > *{
opacity:0;
transform:translateY(20px);
animation:heroFade .8s ease forwards;
}

.hero-content span{
animation-delay:.2s;
}

.hero-content h1{
animation-delay:.4s;
}

.hero-content p{
animation-delay:.6s;
}

.hero-actions{
animation-delay:.8s;
}

@keyframes heroFade{
to{
opacity:1;
transform:translateY(0);
}
}

/* =====================================================
MAIL DES SERVICES
===================================================== */

.service-cta{
margin-top:28px;
}

.btn-email{
display:inline-flex;
align-items:center;
gap:10px;
padding:12px 22px;
background:transparent;
color:var(--blue);
border:1px solid var(--blue);
border-radius:6px;
font-size:14px;
font-weight:500;
text-decoration:none;
transition:all .25s ease;
}

.btn-email:hover{
background:var(--blue);
color:#fff;
}

/* =====================================================
RECRUITMENT SECTION
===================================================== */

.recruitment-section{
padding:84px 0;
background:
linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
border-top:1px solid #e7eaf0;
border-bottom:1px solid #e7eaf0;
}

.recruitment-header{
max-width:860px;
margin-bottom:42px;
}

.recruitment-header h2{
font-size:18px;
color:var(--blue);
text-transform:uppercase;
letter-spacing:.08em;
margin-bottom:16px;
}

.recruitment-header h2::after{
content:"";
display:block;
width:60px;
height:3px;
background:var(--blue);
margin-top:10px;
}

.recruitment-header p{
font-size:22px;
line-height:1.4;
letter-spacing:-0.01em;
color:var(--text);
max-width:800px;
}

.recruitment-grid{
display:grid;
grid-template-columns:minmax(0, 1.25fr) minmax(320px, .75fr);
gap:32px;
align-items:stretch;
}

.recruitment-panel{
height:100%;
padding:38px;
background:#ffffff;
border:1px solid #e5e8ee;
border-radius:12px;
box-shadow:0 10px 28px rgba(15,23,42,0.05);
}

.recruitment-panel p{
font-size:17px;
line-height:1.75;
color:#4b5563;
margin-bottom:18px;
}

.recruitment-panel p:last-child{
margin-bottom:0;
}

.recruitment-aside{
display:flex;
justify-self:stretch;
width:100%;
}

/* IMAGE */

.recruitment-card-image{
position:relative;
border-radius:12px;
overflow:hidden;
min-height:320px;
width:100%;
background:
linear-gradient(90deg, rgba(15,23,42,0.55) 0%, rgba(15,23,42,0.35) 60%, rgba(15,23,42,0.15) 100%),
url('../images/recrutement.jpg') center / cover no-repeat;
display:flex;
align-items:center;
height:100%;
filter:contrast(1.05) brightness(1.05);
}

/* OVERLAY */

.recruitment-card-overlay{
display:flex;
flex-direction:column;
justify-content:center;
align-items:flex-start;
width:100%;
padding:80px 40px 25px 40px;
height:100%;
color:#ffffff;
}

/* TEXTE */

.recruitment-card-overlay h3{
font-size:28px;
line-height:1.2;
margin-bottom:16px;
letter-spacing:-0.02em;
max-width:320px;
opacity:0;
transform:translateY(20px);
transition:opacity .6s ease, transform .6s ease;
}

.recruitment-card-overlay p{
font-size:17px;
line-height:1.65;
color:#e2e8f0;
margin-bottom:26px;
max-width:420px;
opacity:0;
transform:translateY(20px);
transition:opacity .6s ease, transform .6s ease;
}

/* CONTENEUR BOUTON */

.recruitment-actions{
opacity:0;
transform:translateY(20px);
transition:opacity .6s ease, transform .6s ease;
display:flex;
justify-content:center;
width:100%;
}

/* BOUTON */

.recruitment-card-overlay .btn{
background:#ffffff;
color:var(--navy);
box-shadow:0 8px 24px rgba(0,0,0,0.15);
font-weight:700;
}

.recruitment-card-overlay .btn:hover{
background:#f3f7ff;
transform:translateY(-2px);
box-shadow:0 12px 30px rgba(0,0,0,0.2);
}

/* ÉTAT VISIBLE */

.recruitment-card-overlay.visible h3{
opacity:1;
transform:translateY(0);
transition-delay:.2s;
}

.recruitment-card-overlay.visible p{
opacity:1;
transform:translateY(0);
transition-delay:.4s;
}

.recruitment-card-overlay.visible .recruitment-actions{
opacity:1;
transform:translateY(0);
transition-delay:.6s;
}

/* =====================================================
RECRUITMENT IMPROVEMENTS
===================================================== */

.highlight{
font-size:18px;
font-weight:500;
color:var(--text);
margin-bottom:18px;
}

.recruitment-points{
list-style:none;
padding:0;
margin:20px 0;
}

.recruitment-points li{
position:relative;
padding-left:22px;
margin-bottom:10px;
font-size:16px;
color:#374151;
}

.recruitment-points li::before{
content:"";
position:absolute;
left:0;
top:8px;
width:6px;
height:6px;
background:var(--blue);
border-radius:50%;
}

.recruitment-closing{
margin-top:24px;
padding:14px 18px;
background:#f1f5f9;
border:1px solid #e2e8f0;
border-radius:6px;
font-size:15px;
font-weight:500;
color:var(--navy);
display:block;
width:fit-content;
}

.recruitment-panel{
border-left:4px solid var(--blue);
}

.recruitment-card-overlay{
height:100%;
display:flex;
flex-direction:column;
justify-content:center;
}

/* =====================================================
INTRO IMPROVEMENT
===================================================== */

.intro-highlight{
font-size:18px;
line-height:1.7;
color:var(--text);
margin-bottom:18px;
}

.intro-points{
list-style:none;
padding:0;
margin:10px 0 0;
}

.intro-points li{
position:relative;
padding-left:20px;
margin-bottom:10px;
font-size:16px;
color:#4b5563;
}

.intro-points li::before{
content:"";
position:absolute;
left:0;
top:8px;
width:6px;
height:6px;
background:var(--blue);
border-radius:50%;
}

.intro-right{
background:#f8fafc;
border:1px solid #e6ebf2;
border-left:4px solid var(--blue);
border-radius:10px;
padding:28px;
}

.contact-info .section-heading{
margin-bottom:40px;
max-width:800px;
}

.contact-card{
border-left:1px solid #e2e8f0; /* trait discret par défaut */
}

.contact-card:hover{
border-left:4px solid var(--blue);
}

/* =========================
LEGAL PAGES
========================= */

.legal-page{
  padding:80px 0 100px;
  background:#f4f6f9;
}

.legal-container{
  max-width:900px;
  background:#fff;
  padding:60px 70px;
  border-radius:10px;
  box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

.legal-header{
  margin-bottom:60px;
}

.legal-header .kicker{
  color:var(--blue);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:600;
  margin-bottom:14px;
}

.legal-header h1{
  font-size:44px;
  line-height:1.2;
  margin-bottom:16px;
}

.legal-header .intro{
  font-size:16px;
  color:var(--muted);
  max-width:640px;
}

.legal-date{
  margin-top:12px;
  font-size:14px;
  color:#9ca3af;
}

/* CONTENT */

.legal-content section{
  margin-bottom:40px;
}

.legal-content h2{
  font-size:18px;
  font-weight:600;
  margin-bottom:12px;
  color:var(--navy);
}

.legal-content h2::after{
  content:"";
  display:block;
  width:40px;
  height:2px;
  background:var(--blue);
  margin-top:8px;
}

.legal-content p{
  font-size:15px;
  line-height:1.7;
  color:#374151;
}

.legal-content ul{
  padding-left:18px;
  margin-top:10px;
}

.legal-content li{
  margin-bottom:6px;
  font-size:15px;
  line-height:1.6;
}

.legal-content a{
  color:var(--blue);
  text-decoration:underline;
}

/* NOTE */

.legal-note{
  margin-top:50px;
  padding-top:20px;
  border-top:1px solid #e5e7eb;
  font-size:13px;
  color:#6b7280;
}

@media print{
  .site-header,
  .site-footer{
    display:none;
  }

  .legal-page{
    background:#fff;
    padding:0;
  }

  .legal-container{
    box-shadow:none;
    padding:0;
  }
}

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

@media (max-width:1100px){

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

.service-card{
grid-template-columns:150px 1fr;
}

.service-action{
grid-column:1/-1;
justify-content:flex-start;
padding-top:4px;
}

.quote-inner{
grid-template-columns:1fr;
}

.recruitment-header p{
font-size:28px;
}

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

}

@media (max-width:820px){

.header-inner{
grid-template-columns:1fr;
gap:16px;
}

.hero{
min-height:auto;
}

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

.intro-grid{
grid-template-columns:1fr;
gap:28px;
}

.service-card{
grid-template-columns:1fr;
padding:26px;
}

.service-logo{
border-right:none;
border-bottom:1px solid var(--line);
padding-bottom:20px;
justify-content:flex-start;
}

.service-content{
max-width:none;
}

.service-content h3{
min-height:auto;
font-size:19px;
}

.service-content p{
font-size:14px;
}

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

.recruitment-section{
padding:64px 0;
}

.recruitment-header p{
font-size:24px;
}

.recruitment-panel{
padding:28px;
}

.recruitment-card-overlay{
padding:40px 24px;
}

.recruitment-card-overlay h3{
font-size:24px;
}

}

@media (max-width:560px){

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

.brand img{
height:48px;
}

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

.hero-kicker{
font-size:11px;
}

.intro-left p.lead,
.section-heading p{
font-size:24px;
}

.quote-inner h3{
font-size:26px;
}

.footer-inner{
flex-direction:column;
align-items:flex-start;
}

.recruitment-header p{
font-size:22px;
}

.recruitment-panel p,
.recruitment-card-overlay p{
font-size:16px;
}

}

@media (max-width:768px){
  .legal-container{
    padding:40px 24px;
  }

  .legal-header h1{
    font-size:32px;
  }
}
