/* ==========================================================================
   AT TECH inc. — feuille de style partagée du site
   ========================================================================== */
:root{
  --navy:#0B1E33; --navy-2:#1E3A5F; --blue:#2563EB;
  --ink:#0B1E33; --text:#475569; --muted:#64748B;
  --bg:#FFFFFF; --bg-alt:#F5F7FA; --line:#E3E8EF; --line-2:#EDF1F6;
  --orange:#F26A1B; --orange-soft:#FFF1E8;
  --shadow:0 1px 2px rgba(11,30,51,.04), 0 12px 28px -18px rgba(11,30,51,.18);
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{margin:0; background:var(--bg); color:var(--text);
  font-family:'Archivo',system-ui,sans-serif; font-size:16px; line-height:1.6;
  -webkit-font-smoothing:antialiased;}
h1,h2,h3{font-family:'Space Grotesk',sans-serif; color:var(--ink); margin:0; letter-spacing:-.02em; line-height:1.1;}
a{color:inherit; text-decoration:none;}
p{margin:0;}
.wrap{max-width:1200px; margin:0 auto; padding:0 clamp(24px,5vw,64px);}
.section{padding:clamp(58px,8vw,104px) 0;}
.section--alt{background:var(--bg-alt);}
.eyebrow{display:inline-flex; align-items:center; gap:10px; font-family:'Space Grotesk',sans-serif;
  font-weight:600; font-size:12.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--navy-2);}
.eyebrow::before{content:""; width:22px; height:2px; background:var(--orange); border-radius:2px;}
.lead{font-size:clamp(16px,1.7vw,18.5px); line-height:1.65; color:var(--text); max-width:680px;}
.center{text-align:center;}
.center .eyebrow{justify-content:center;}
.center .lead{margin-left:auto; margin-right:auto;}

/* Buttons */
.btn{display:inline-flex; align-items:center; gap:9px; font-family:'Space Grotesk',sans-serif;
  font-weight:600; font-size:15px; padding:14px 24px; border-radius:11px; cursor:pointer;
  border:1.5px solid transparent; transition:transform .15s ease, background .18s ease, border-color .18s ease, color .18s ease;}
.btn--primary{background:var(--navy); color:#fff;}
.btn--primary:hover{background:var(--navy-2); transform:translateY(-2px);}
.btn--outline{background:#fff; border-color:var(--line); color:var(--ink);}
.btn--outline:hover{border-color:var(--navy); background:var(--bg-alt);}
.btn--orange{background:var(--orange); color:#fff;}
.btn--orange:hover{background:#d95a10; transform:translateY(-2px);}
.btn--light{background:#fff; color:var(--navy);}
.btn--light:hover{background:#EAF0F7; transform:translateY(-2px);}
.btn--ghost{background:transparent; color:#fff; border-color:rgba(255,255,255,.28);}
.btn--ghost:hover{border-color:#fff; background:rgba(255,255,255,.08);}
.btn--sm{font-size:13.5px; padding:10px 17px; border-radius:9px;}
.arrow{transition:transform .15s ease;}
.btn:hover .arrow{transform:translateX(3px);}

/* Nav */
.nav{position:sticky; top:0; z-index:50; background:rgba(255,255,255,.86);
  backdrop-filter:saturate(160%) blur(12px); border-bottom:1px solid var(--line-2);}
.nav__in{display:flex; align-items:center; gap:22px; height:70px;}
.brand{display:flex; align-items:center; gap:11px;}
.brand img{height:25px; width:auto; display:block;}
.nav__links{display:flex; gap:26px; margin-left:14px;}
.nav__links a{font-size:14.5px; font-weight:500; color:var(--muted); transition:color .15s ease;}
.nav__links a:hover,.nav__links a.is-active{color:var(--navy);}
.nav__links a.is-active{font-weight:600;}
.nav__right{margin-left:auto; display:flex; align-items:center; gap:16px;}
.nav__qw{font-size:13.5px; font-weight:600; color:var(--orange);}
.nav__qw:hover{color:#d95a10;}

/* Hero (home) */
.hero{padding-top:clamp(54px,7vw,92px); padding-bottom:clamp(48px,6vw,80px);}
.hero__grid{display:grid; grid-template-columns:1.15fr .85fr; gap:clamp(36px,5vw,72px); align-items:center;}
.hero h1{font-size:clamp(33px,4.6vw,54px); margin:18px 0 0;}
.hero h1 .hl{color:var(--navy-2);}
.hero__sub{margin:22px 0 0; font-size:clamp(16px,1.6vw,18.5px); line-height:1.62; color:var(--text); max-width:580px;}
.hero__cta{display:flex; gap:13px; flex-wrap:wrap; margin:30px 0 0;}
.hero__tags{margin:24px 0 0; font-size:13px; color:var(--muted); letter-spacing:.01em;}
.hero__note{margin:20px 0 0; display:inline-flex; align-items:center; gap:9px; font-size:13.5px;
  font-weight:500; color:var(--navy-2); background:var(--bg-alt); border:1px solid var(--line);
  padding:9px 15px; border-radius:999px;}
.hero__note span{color:var(--orange);}

/* Hero progression card */
.ladder{background:var(--navy); border-radius:22px; padding:30px 28px; color:#fff;
  box-shadow:0 30px 60px -30px rgba(11,30,51,.5); position:relative; overflow:hidden;}
.ladder::after{content:""; position:absolute; right:-60px; top:-60px; width:220px; height:220px;
  background:radial-gradient(circle,rgba(242,106,27,.22),transparent 65%); pointer-events:none;}
.ladder__k{font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:12px; letter-spacing:.14em;
  text-transform:uppercase; color:#8FA6BE;}
.ladder__row{display:flex; align-items:center; gap:14px; padding:15px 0; border-bottom:1px solid rgba(255,255,255,.1);}
.ladder__row:last-child{border-bottom:none;}
.ladder__n{flex:none; width:30px; height:30px; border-radius:9px; display:flex; align-items:center; justify-content:center;
  font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:13px;
  background:rgba(255,255,255,.08); color:#C7D5E3;}
.ladder__row--qw .ladder__n{background:rgba(242,106,27,.2); color:#FBA869;}
.ladder__t{font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:15px; color:#fff;}
.ladder__d{font-size:12.5px; color:#9FB2C6; margin-top:1px;}
.ladder__bar{height:6px; border-radius:999px; background:rgba(255,255,255,.1); margin-top:20px; overflow:hidden;}
.ladder__bar i{display:block; height:100%; width:100%; border-radius:999px;
  background:linear-gradient(90deg,#FBA869,#2563EB);}

/* Page hero (interior pages) */
.phero{padding:clamp(48px,6vw,80px) 0 clamp(34px,4vw,48px); background:var(--bg-alt); border-bottom:1px solid var(--line-2);}
.phero__in{max-width:760px;}
.phero h1{font-size:clamp(30px,4vw,46px); margin:16px 0 0;}
.phero p{margin:18px 0 0; font-size:clamp(16px,1.6vw,18px); line-height:1.6; color:var(--text); max-width:640px;}
.crumb{font-size:13px; color:var(--muted);}
.crumb a:hover{color:var(--navy);}

/* Generic card grid */
.grid{display:grid; gap:20px;}
.grid--3{grid-template-columns:repeat(3,1fr);}
.grid--2{grid-template-columns:repeat(2,1fr);}
.card{background:#fff; border:1px solid var(--line); border-radius:16px; padding:26px; box-shadow:var(--shadow);}
.section--alt .card{background:#fff;}
.card h3{font-size:18px; margin:0 0 9px;}
.card p{font-size:14.5px; line-height:1.58; color:var(--text);}
.card__k{font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:11.5px; letter-spacing:.1em;
  text-transform:uppercase; color:var(--muted); display:block; margin:0 0 8px;}
.ic{width:42px; height:42px; border-radius:11px; background:var(--bg-alt); display:flex; align-items:center; justify-content:center; margin:0 0 16px;}
.ic svg{width:21px; height:21px; stroke:var(--navy-2); fill:none; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round;}
.head{max-width:680px; margin:0 0 clamp(34px,4vw,46px);}
.head--center{margin-left:auto; margin-right:auto; text-align:center;}
.head h2{font-size:clamp(26px,3.4vw,38px); margin:14px 0 0;}
.head .lead{margin-top:16px;}

/* About split */
.about{display:grid; grid-template-columns:.9fr 1.1fr; gap:clamp(34px,5vw,68px); align-items:start;}
.about h2{font-size:clamp(26px,3.4vw,40px);}
.about__p{margin:20px 0 0; font-size:16px; line-height:1.66;}
.about__hl{margin:22px 0 0; padding:18px 22px; border-left:3px solid var(--orange); background:var(--bg-alt);
  border-radius:0 12px 12px 0; font-family:'Space Grotesk',sans-serif; font-weight:500; font-size:16px; color:var(--ink); line-height:1.5;}

/* QWC band */
.qwc{display:grid; grid-template-columns:1fr 1fr; gap:clamp(28px,4vw,56px); align-items:center;}
.qwc__card{background:linear-gradient(160deg,#fff, #FFF6F0); border:1px solid #F6D9C5; border-radius:20px;
  padding:32px; box-shadow:0 24px 50px -30px rgba(242,106,27,.4);}
.qwc__tag{display:inline-flex; align-items:center; gap:8px; font-family:'Space Grotesk',sans-serif; font-weight:600;
  font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:var(--orange);
  background:var(--orange-soft); padding:6px 12px; border-radius:999px;}
.qwc__card h3{font-size:23px; margin:16px 0 10px;}
.qwc__card p{font-size:15px; line-height:1.6; color:var(--text); margin:0 0 22px;}
.qwc__why h2{font-size:clamp(24px,3vw,34px);}
.qwc__why .lead{margin-top:16px;}

/* Steps */
.steps{display:grid; grid-template-columns:repeat(4,1fr); gap:20px;}
.step{position:relative; padding:24px; background:#fff; border:1px solid var(--line); border-radius:16px;}
.step__n{font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:14px; color:var(--orange);
  width:36px; height:36px; border-radius:10px; background:var(--orange-soft); display:flex; align-items:center; justify-content:center; margin:0 0 16px;}
.step h3{font-size:17px; margin:0 0 8px;}
.step p{font-size:14px; line-height:1.55; color:var(--text);}

/* Réalisations */
.real{display:grid; grid-template-columns:repeat(3,1fr); gap:18px;}
.real__card{background:#fff; border:1px solid var(--line); border-radius:14px; padding:22px; transition:border-color .15s ease, transform .15s ease;}
.real__card:hover{border-color:var(--navy-2); transform:translateY(-2px);}
.real__k{font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:11px; letter-spacing:.08em;
  text-transform:uppercase; color:var(--orange); display:block; margin:0 0 7px;}
.real__card h3{font-size:16.5px; margin:0 0 7px;}
.real__card p{font-size:13.5px; line-height:1.5; color:var(--text);}

/* Blogue */
.blog{display:grid; grid-template-columns:repeat(3,1fr); gap:20px;}
.post{display:flex; flex-direction:column; background:#fff; border:1px solid var(--line); border-radius:16px; overflow:hidden; transition:transform .15s ease, box-shadow .18s ease;}
.post:hover{transform:translateY(-3px); box-shadow:var(--shadow);}
.post__top{height:7px; background:linear-gradient(90deg,var(--navy-2),var(--blue));}
.post__top--o{background:linear-gradient(90deg,var(--orange),#FBA869);}
.post__b{padding:24px;}
.post__cat{font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:11.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted);}
.post h3{font-size:17px; line-height:1.28; margin:11px 0 14px;}
.post__ex{font-size:13.5px; line-height:1.55; color:var(--text); margin:0 0 16px;}
.post__more{font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:13.5px; color:var(--navy-2); margin-top:auto;}

/* FAQ accordion */
.faq{max-width:820px; margin:0 auto; display:flex; flex-direction:column; gap:12px;}
.faq__item{background:#fff; border:1px solid var(--line); border-radius:14px; overflow:hidden;}
.faq__q{width:100%; text-align:left; background:none; border:none; cursor:pointer; padding:20px 24px;
  display:flex; justify-content:space-between; align-items:center; gap:16px;
  font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:16.5px; color:var(--ink);}
.faq__q .pm{flex:none; width:26px; height:26px; border-radius:8px; background:var(--bg-alt); color:var(--navy-2);
  display:flex; align-items:center; justify-content:center; font-size:18px; transition:transform .2s ease, background .2s ease, color .2s ease;}
.faq__item[open] .faq__q .pm{transform:rotate(45deg); background:var(--orange); color:#fff;}
.faq__a{padding:0 24px 22px; font-size:15px; line-height:1.62; color:var(--text);}
.faq__item summary{list-style:none;}
.faq__item summary::-webkit-details-marker{display:none;}

/* Contact */
.contact{display:grid; grid-template-columns:1fr 1.05fr; gap:clamp(34px,5vw,64px); align-items:start;}
.cinfo__item{display:flex; gap:14px; padding:18px 0; border-bottom:1px solid var(--line-2);}
.cinfo__item:last-child{border-bottom:none;}
.cinfo__ic{flex:none; width:40px; height:40px; border-radius:10px; background:var(--bg-alt); display:flex; align-items:center; justify-content:center; color:var(--orange); font-style:normal; font-size:18px;}
.cinfo__k{font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:13px; color:var(--ink);}
.cinfo__v{font-size:14.5px; color:var(--text);}
.cinfo__v a:hover{color:var(--navy);}
.form{background:#fff; border:1px solid var(--line); border-radius:18px; padding:30px; box-shadow:var(--shadow);}
.field{display:flex; flex-direction:column; gap:7px; margin:0 0 16px;}
.field label{font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:13.5px; color:var(--ink);}
.field input,.field textarea,.field select{font:inherit; font-size:14.5px; color:var(--ink); background:var(--bg-alt);
  border:1.5px solid var(--line); border-radius:10px; padding:12px 14px; transition:border-color .15s ease, background .15s ease;}
.field input:focus,.field textarea:focus,.field select:focus{outline:none; border-color:var(--navy-2); background:#fff;}
.field textarea{resize:vertical; min-height:120px;}
.form__row{display:grid; grid-template-columns:1fr 1fr; gap:16px;}
.form__note{font-size:12.5px; color:var(--muted); margin:4px 0 0;}

/* Legal / privacy text */
.legal{max-width:820px;}
.legal h2{font-size:clamp(20px,2.4vw,26px); margin:36px 0 12px;}
.legal h2:first-child{margin-top:0;}
.legal p{font-size:15.5px; line-height:1.7; margin:0 0 14px; color:var(--text);}
.legal ul{margin:0 0 16px; padding-left:22px;}
.legal li{font-size:15.5px; line-height:1.6; margin:0 0 8px; color:var(--text);}
.legal a{color:var(--navy-2); text-decoration:underline;}
.legal__meta{font-size:13.5px; color:var(--muted); margin:0 0 30px;}

/* CTA final */
.final{background:var(--navy); color:#fff; position:relative; overflow:hidden;}
.final::before{content:""; position:absolute; left:-100px; top:-120px; width:480px; height:380px;
  background:radial-gradient(circle,rgba(242,106,27,.16),transparent 62%); pointer-events:none;}
.final::after{content:""; position:absolute; right:-120px; bottom:-160px; width:520px; height:420px;
  background:radial-gradient(circle,rgba(37,99,235,.18),transparent 62%); pointer-events:none;}
.final__in{position:relative; text-align:center; max-width:720px; margin:0 auto;}
.final h2{color:#fff; font-size:clamp(27px,3.6vw,42px);}
.final p{margin:18px auto 0; color:#C7D5E3; font-size:17px; line-height:1.6; max-width:600px;}
.final__cta{display:flex; gap:13px; justify-content:center; flex-wrap:wrap; margin:30px 0 0;}
.final__coords{margin:30px 0 0; display:flex; gap:26px; justify-content:center; flex-wrap:wrap;
  font-size:14px; color:#9FB2C6;}
.final__coords a{color:#fff;}
.final__coords span{display:inline-flex; align-items:center; gap:8px;}
.final__coords i{color:var(--orange); font-style:normal;}

/* Footer */
.foot{background:#08182A; color:#9FB2C6; padding:56px 0 30px;}
.foot__grid{display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:36px;}
.foot__brand img{height:24px; margin:0 0 14px;}
.foot__brand p{font-size:13.5px; line-height:1.6; max-width:300px;}
.foot h4{font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:13px; letter-spacing:.06em; text-transform:uppercase; color:#fff; margin:0 0 14px;}
.foot__col a{display:block; font-size:14px; color:#9FB2C6; padding:5px 0; transition:color .15s ease;}
.foot__col a:hover{color:#fff;}
.foot__bottom{margin-top:40px; padding-top:22px; border-top:1px solid rgba(255,255,255,.08);
  display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:13px; color:#7A8DA1;}
.foot__bottom a{color:#7A8DA1;}
.foot__bottom a:hover{color:#fff;}

@media (max-width:900px){
  .nav__links{display:none;}
  .hero__grid{grid-template-columns:1fr;}
  .ladder{order:-1;}
  .about,.qwc,.contact{grid-template-columns:1fr;}
  .grid--3,.steps,.real,.blog{grid-template-columns:1fr 1fr;}
  .foot__grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:600px){
  .grid--3,.grid--2,.steps,.real,.blog,.foot__grid,.form__row{grid-template-columns:1fr;}
  .nav__qw{display:none;}
}
