/* ALHUMA Consulting — V2 · 12 octobre 2026
   Responsive / hébergement statique OVH 100M + formulaire PHP
*/
:root {
  --navy: #082740;
  --deep: #061d33;
  --ink: #0a2844;
  --cyan: #5bd3e5;
  --muted: #526e86;
  --line: #d9e6ef;
  --soft: #f4f8fb;
  --w: 1530px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); font: 16px/1.55 Arial, Helvetica, sans-serif; background: #fff; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
.wrap { width: min(var(--w), calc(100% - 100px)); margin-inline: auto; }
.ico { width: 24px; height: 24px; flex: none; }

/* Navigation */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.98); box-shadow: 0 1px 0 rgba(9,37,64,.10); backdrop-filter: blur(12px); }
.header-content { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand img { width: 170px; height: auto; display: block; }
.nav { display: flex; align-items: center; gap: 36px; font-size: 14px; font-weight: 600; }
.nav a:not(.btn):hover, .footer a:hover, .text-link:hover { color: #1a83a5; }
.menu-toggle { display: none; background: transparent; border: 0; color: var(--navy); }
.btn { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 13px 23px; border-radius: 5px; border: 1px solid transparent; font-size: 14px; font-weight: 700; line-height: 1.2; white-space: nowrap; transition: transform .18s, background .18s, color .18s; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, .menu-toggle:focus-visible { outline: 3px solid #5bd3e5; outline-offset: 3px; }
.btn-navy { background: #0d2a4d; color: #fff; }
.btn-navy:hover { background: #174769; }
.btn-white { background: #fff; color: #0b2b4a; }
.btn-white:hover { background: #eaf7fb; }
.nav-cta { min-height: 50px; }

/* 01 Hero : image conservée à ses bonnes proportions et fusion en dégradé */
.hero { position: relative; background: #061e33; isolation: isolate; overflow: hidden; color: #fff; }
.hero::before { content: ""; position: absolute; z-index: -2; inset: 0; background: radial-gradient(ellipse at 58% 42%, #104269 0%, #061e34 60%, #041b2e 100%); }
.hero-graphic { position: absolute; z-index: -1; top: 0; bottom: 0; right: 0; width: min(59%, 1020px); background: url('assets/hero-fibre-rj45.webp') right bottom / contain no-repeat; opacity: .98; -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.72) 22%, #000 41%); mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.72) 22%, #000 41%); }
.hero-inner { position: relative; min-height: 555px; padding-top: 61px; padding-bottom: 52px; display: flex; align-items: center; }
.hero-copy { max-width: 745px; }
.eyebrow { color: #143d60; font-size: 11px; letter-spacing: .19em; font-weight: 800; margin: 0 0 20px; }
.eyebrow-light { color: #fff; }
.hero h1 { font-size: clamp(46px, 4.25vw, 72px); letter-spacing: -.051em; line-height: 1.13; margin: 0 0 25px; font-weight: 800; white-space: nowrap; }
.hero h1 span { color: var(--cyan); }
.hero-lead { font-size: 18px; margin: 0 0 14px; }
.hero-description { font-size: 17px; line-height: 1.65; max-width: 525px; margin: 0 0 28px; }
.hero-note { font-size: 12px; margin: 19px 0 0; }
.benefits { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); padding: 15px 0 22px; }
.benefit { display: flex; gap: 16px; align-items: center; font-size: 13px; line-height: 1.35; padding: 2px 26px; border-right: 1px solid rgba(208,230,244,.32); }
.benefit:first-child { padding-left: 0; }
.benefit:last-child { border: 0; }
.benefit svg { color: var(--cyan); width: 31px; height: 31px; }

/* 02 Expertise */
.section { padding: 75px 0; }
.section-heading { margin-bottom: 29px; }
.section h2, .needs-section h2, .cta-strip h2 { font-size: clamp(30px, 2.5vw, 42px); letter-spacing: -.035em; line-height: 1.17; margin: 0; font-weight: 800; }
.split-heading { display: grid; grid-template-columns: minmax(0,1fr) 370px; align-items: end; gap: 35px; }
.split-heading .eyebrow { margin-bottom: 13px; }
.split-heading h2 { font-size: clamp(29px,2.35vw,41px); white-space: nowrap; }
.split-heading>p { color: var(--muted); font-size: 15px; line-height: 1.62; margin: 0 0 3px; }
.expertise-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.product-card { background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 23px rgba(8,36,62,.05); border-radius: 9px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 13px 26px rgba(8,36,62,.10); }
.product-card>img { display: block; width: 100%; height: 202px; object-fit: cover; }
.product-content { padding: 18px 20px 21px; display: flex; flex-direction: column; flex: 1; }
.product-content h3 { margin: 0 0 9px; font-size: 21px; letter-spacing: -.02em; line-height: 1.3; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.product-content h3 span { font-size: 22px; color: #367eaa; }
.product-content p { margin: 0 0 18px; font-size: 14px; line-height: 1.58; color: #496783; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-top: auto; }
.tags span { background: #eaf3fa; color: #285577; font-weight: 600; border-radius: 4px; padding: 5px 8px; font-size: 11px; line-height: 1.25; white-space: nowrap; }

/* 03 Vos besoins — image pleine hauteur et pleine largeur jusqu'au bord droit */
.needs-section { position: relative; isolation: isolate; overflow: hidden; background: #062139; color: #fff; }
.needs-image { position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: 39%; min-height: 100%; background: linear-gradient(90deg,#062139 0%,rgba(6,33,57,.75) 14%,rgba(6,33,57,.08) 46%,rgba(6,33,57,0) 100%),url('assets/datacenter.webp') center center / cover no-repeat; }
.needs-layout { display: grid; grid-template-columns: minmax(0,520px) minmax(0,465px); gap: clamp(45px, 5.5vw, 120px); align-items: center; min-height: 423px; }
.needs-copy { padding: 50px 0; }
.needs-copy .eyebrow { margin-bottom: 20px; }
.needs-copy h2 { margin-bottom: 20px; }
.needs-copy>p:not(.eyebrow) { color: #dce9f3; font-size: 15px; line-height: 1.7; margin: 0 0 26px; max-width: 505px; }
.needs-list { padding: 35px 0; }
.need { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 21px; }
.need:last-child { margin-bottom: 0; }
.icon-ring { display: flex; align-items: center; justify-content: center; flex: none; width: 50px; height: 50px; border: 1px solid rgba(124,205,239,.36); border-radius: 50%; color: var(--cyan); background: rgba(13,51,83,.86); }
.need h3 { font-size: 15px; line-height: 1.32; margin: 1px 0 4px; }
.need p { font-size: 13px; line-height: 1.47; color: #d7e6f3; margin: 0; max-width: 355px; }

/* 04 Notre approche — 4 visuels sans numéros intégrés à l'image */
.approach { padding-top: 70px; padding-bottom: 65px; }
.approach-grid { display: grid; grid-template-columns: minmax(0,415px) minmax(0,1fr); align-items: start; gap: 44px; }
.approach-intro .eyebrow { margin-bottom: 15px; }
.approach-intro h2 { font-size: clamp(30px,2.4vw,40px); margin-bottom: 18px; }
.approach-intro>p:not(.eyebrow) { color: #506e85; font-size: 14px; line-height: 1.65; margin: 0 0 12px; }
.text-link { display: inline-flex; align-items: center; margin-top: 8px; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; gap: 12px; }
.process-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 25px; }
.process-item { position: relative; min-width: 0; }
.process-picture { position: relative; }
.process-picture img { width: 100%; height: clamp(120px,9.2vw,155px); object-fit: cover; border-radius: 8px; display: block; }
.step-num { position: absolute; left: -9px; top: -12px; width: 37px; height: 37px; background: #062d4f; border: 3px solid white; border-radius: 50%; color: white; display: grid; place-items: center; font-size: 16px; font-weight: 800; line-height: 1; box-shadow: 0 2px 5px rgba(5,23,41,.12); }
.process-item:not(:last-child)::after { content: '›'; position: absolute; top: 50px; right: -21px; font-size: 31px; font-weight: 400; line-height: 1; color: #2d92ba; }
.process-item h3 { font-size: 14px; line-height: 1.33; margin: 13px 0 6px; }
.process-item p { font-size: 12.5px; line-height: 1.52; color: #506e85; margin: 0; }

/* Appel à l'action — meilleur cadrage sur la route éclairée */
.cta-strip { background: linear-gradient(90deg,rgba(5,28,48,.88) 0%,rgba(5,28,48,.48) 60%,rgba(5,28,48,.25) 100%),url('assets/route.webp') center 61% / cover no-repeat; color: #fff; }
.cta-layout { display: flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 186px; }
.cta-layout>div { max-width: 780px; }
.cta-layout p { font-size: 15px; line-height: 1.6; color: #edf7fd; margin: 9px 0 0; }

/* 05 Contact — formulaire B2B */
.contact-section { background: #f4f8fb; padding: 78px 0 84px; }
.contact-layout { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.15fr); gap: clamp(40px,6vw,110px); align-items: start; }
.contact-intro { padding-top: 12px; }
.contact-intro .eyebrow { margin-bottom: 21px; }
.contact-intro h2 { font-size: clamp(38px,3.7vw,57px); letter-spacing: -.043em; line-height: 1.12; margin-bottom: 20px; }
.contact-intro>p:not(.eyebrow) { color: #526d85; max-width: 500px; line-height: 1.68; font-size: 16px; }
.contact-email { display: flex; align-items: center; gap: 14px; margin-top: 32px; font-weight: 700; font-size: 19px; }
.contact-email svg { color: #2380aa; }
.contact-email a { text-decoration: underline; text-underline-offset: 4px; }
.privacy-hint { font-size: 14px !important; margin-top: 22px; }
.contact-form { background: #fff; border: 1px solid #dfe9f1; border-radius: 12px; box-shadow: 0 16px 44px rgba(8,40,69,.08); display: flex; flex-direction: column; gap: 19px; padding: 34px 38px; }
.form-header h3 { color: #0b2845; font-size: 23px; margin: 0 0 2px; line-height: 1.3; }
.form-header p { color: #5c7388; font-size: 14px; margin: 0; }
.form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 19px; }
.form-field { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.form-field label { font-size: 13px; font-weight: 700; display: block; color: #102e4b; line-height: 1.5; }
.form-field .required, .consent strong { color: #a52542; font-weight: 700; }
.form-field .optional { color: #6d8296; font-size: 12px; font-weight: 400; }
.form-field input, .form-field textarea { display: block; width: 100%; min-width: 0; min-height: 46px; padding: 12px 14px; border: 1px solid #cbdce9; border-radius: 6px; background: #fbfdff; outline: none; color: var(--ink); font-size: 14px; transition: border-color .2s, box-shadow .2s; }
.form-field textarea { min-height: 141px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #8395a4; opacity: 1; }
.form-field input:focus, .form-field textarea:focus { border-color: #278caf; box-shadow: 0 0 0 3px #d8eff7; }
.consent { display: flex; align-items: flex-start; gap: 11px; font-size: 13px; line-height: 1.55; font-weight: 400; color: #28435e; cursor: pointer; }
.consent input { flex: none; margin: 4px 0 0; accent-color: #0d2a4d; width: 16px; height: 16px; }
.consent a { text-decoration: underline; text-underline-offset: 2px; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%); }
.submit-btn { align-self: flex-start; min-width: 226px; }
.submit-btn:disabled { opacity: .65; cursor: wait; }
.contact-form small { color: #71889c; font-size: 12px; }
.form-status { border-radius: 6px; margin: 0; padding: 13px; font-size: 14px; line-height: 1.55; font-weight: 600; }
.form-status.ok { background: #e8f8ef; color: #135d39; }
.form-status.error { background: #ffebed; color: #8a2b3b; }

/* Pied de page */
.footer { color: #e9f1f8; background: #04182a; }
.footer-grid { display: grid; grid-template-columns: 1.18fr .77fr .86fr 1.32fr 1.11fr; gap: 32px; padding-top: 47px; padding-bottom: 42px; }
.footer-brand { border-right: 1px solid #425970; }
.footer-brand strong { font-size: 27px; font-weight: 700; }
.footer-brand p, .footer-grid p { font-size: 12px; color: #c2d1dc; line-height: 1.6; }
.footer-grid h3 { font-size: 13px; margin: 0 0 14px; color: #fff; }
.footer-grid a { display: flex; align-items: center; gap: 8px; font-size: 12px; margin: 0 0 9px; color: #c8d9e7; }
.footer-grid svg { width: 15px; height: 15px; }
.footer-grid p svg { vertical-align: middle; margin-right: 5px; }
.footer-bottom { border-top: 1px solid #243f59; padding: 20px 0; font-size: 12px; color: #9db3c6; display: flex; justify-content: space-between; gap: 20px; }
.footer-bottom>div { display: flex; gap: 24px; }
.footer-bottom a:hover { color: #fff; }

/* Pages légales */
.legal-page { padding: 70px 0 100px; min-height: 60vh; }
.legal-page h1 { font-size: clamp(32px,4vw,48px); line-height: 1.12; margin: 0 0 28px; }
.legal-page h2 { font-size: 21px; margin: 28px 0 8px; }
.legal-page p, .legal-page li { max-width: 850px; color: #536b82; }
.legal-page a { text-decoration: underline; }
.legal-page ul { padding-left: 24px; }

/* Desktops compacts / tablettes paysage */
@media (max-width: 1370px) {
  .wrap { width: min(var(--w),calc(100% - 76px)); }
  .split-heading { grid-template-columns: minmax(0,1fr) 305px; }
  .split-heading h2 { font-size: clamp(27px,2.5vw,35px); }
  .needs-layout { gap: 48px; grid-template-columns: minmax(0,490px) minmax(0,415px); }
  .approach-grid { grid-template-columns: minmax(0,365px) minmax(0,1fr); gap: 34px; }
  .approach-intro h2 { font-size: 35px; }
  .process-grid { gap: 18px; }
  .process-item:not(:last-child)::after { right: -16px; }
  .footer-grid { gap: 20px; }
}
@media (max-width: 1120px) {
  .nav { gap: 17px; }
  .hero-inner { min-height: 540px; }
  .hero h1 { font-size: clamp(43px,5.3vw,58px); }
  .hero-graphic { width: 66%; }
  .split-heading { grid-template-columns: 1fr; align-items: start; gap: 12px; }
  .split-heading h2 { white-space: normal; font-size: 34px; }
  .split-heading>p { max-width: 650px; }
  .needs-layout { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 35px; }
  .needs-image { width: 35%; opacity: .6; }
  .needs-copy h2 { font-size: 35px; }
  .approach-grid { grid-template-columns: 1fr; gap: 36px; }
  .approach-intro h2 { font-size: 38px; }
  .approach-intro>p:not(.eyebrow) { max-width: 680px; }
  .process-grid { gap: 22px; }
  .process-picture img { height: 154px; }
  .contact-layout { gap: 42px; }
  .footer-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .footer-brand { border-right: 0; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 78px; }
  .wrap { width: calc(100% - 36px); }
  .header-content { min-height: 72px; }
  .brand img { width: 145px; }
  .menu-toggle { display: grid; place-items: center; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; padding: 18px; box-shadow: 0 20px 30px rgba(5,24,42,.13); gap: 0; }
  .nav.is-open { display: flex; }
  .nav>a { padding: 12px 6px; }
  .nav .nav-cta { margin-top: 10px; }
  .hero-graphic { width: 100%; background-position: right top; opacity: .47; -webkit-mask-image: linear-gradient(to bottom, #000, transparent 96%); mask-image: linear-gradient(to bottom, #000, transparent 96%); }
  .hero-inner { min-height: 525px; padding-top: 63px; padding-bottom: 40px; }
  .hero-copy { max-width: 100%; }
  .hero h1 { font-size: clamp(38px,7.6vw,57px); }
  .hero-description { font-size: 15px; max-width: 480px; }
  .hero-lead { font-size: 16px; }
  .benefits { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 19px 10px; padding: 20px 0 24px; }
  .benefit, .benefit:first-child { padding: 2px 5px; border: 0; font-size: 12px; }
  .benefit svg { width: 27px; height: 27px; }
  .section { padding: 63px 0; }
  .expertise-grid { grid-template-columns: 1fr; gap: 18px; }
  .product-card>img { height: 245px; }
  .split-heading h2 { font-size: 33px; }
  .needs-layout { grid-template-columns: 1fr; gap: 0; }
  .needs-image { width: 100%; opacity: .27; background-position: center right; }
  .needs-copy { padding: 55px 0 15px; }
  .needs-list { padding: 10px 0 52px; max-width: 560px; }
  .needs-copy h2 { font-size: 35px; }
  .process-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px 20px; }
  .process-picture img { height: 155px; }
  .process-item:not(:last-child)::after { display: none; }
  .cta-layout { flex-direction: column; align-items: flex-start; justify-content: center; padding-top: 35px; padding-bottom: 36px; }
  .cta-strip { background-position: 61% center; }
  .contact-layout { grid-template-columns: 1fr; gap: 30px; }
  .contact-intro h2 { font-size: 42px; }
  .contact-form { padding: 27px; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 460px) {
  .hero h1 { font-size: clamp(29px,8.2vw,39px); letter-spacing: -.055em; }
  .hero-inner { min-height: 500px; }
  .hero .eyebrow { font-size: 9px; letter-spacing: .13em; }
  .benefit { align-items: flex-start; gap: 8px; font-size: 11px; }
  .benefit svg { width: 24px; height: 24px; }
  .product-card>img { height: 190px; }
  .process-picture img { height: 110px; }
  .approach-intro h2 { font-size: 34px; }
  .process-item h3 { font-size: 13px; }
  .contact-form { padding: 23px 19px; }
  .form-row { grid-template-columns: 1fr; gap: 18px; }
  .contact-intro h2 { font-size: 39px; }
  .contact-email { font-size: 17px; }
  .submit-btn { width: 100%; }
  .footer-bottom>div { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .product-card { transition: none; }
}
