:root {
  --navy: #06111d;
  --navy-soft: #0b1c2c;
  --blue: #0d95dc;
  --blue-bright: #36b8f4;
  --ice: #eef6fa;
  --white: #fff;
  --slate: #607082;
  --line: rgba(255, 255, 255, .16);
  --dark-line: rgba(6, 17, 29, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--navy); background: #fff; font-family: "Manrope", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.site-header { position: fixed; z-index: 20; width: 100%; border-bottom: 1px solid transparent; transition: .3s; }
.site-header.scrolled { background: rgba(4, 14, 25, .94); border-color: rgba(255,255,255,.08); backdrop-filter: blur(18px); }
.nav { display: flex; min-height: 82px; align-items: center; justify-content: space-between; }
.brand img { width: 148px; height: 68px; object-fit: contain; }
.nav-links { display: flex; gap: 30px; align-items: center; color: rgba(255,255,255,.78); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.nav-links a { transition: .2s; }
.nav-links a:hover { color: #fff; }
.nav-cta { padding: 13px 17px; border: 1px solid rgba(255,255,255,.5); color: #fff; }
.nav-cta span, .button span { color: var(--blue-bright); margin-left: 8px; }
.menu-toggle { display: none; border: 0; background: none; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: #fff; transition: .2s; }

.hero { position: relative; min-height: 820px; display: flex; align-items: center; overflow: hidden; color: #fff; }
.hero-image, .hero-overlay { position: absolute; inset: 0; }
.hero-image { background: url("assets/hero.webp") center/cover no-repeat; transform: scale(1.05); animation: settle 10s ease-out forwards; }
.hero-overlay { background: linear-gradient(90deg, rgba(4,13,23,.96) 0%, rgba(4,13,23,.82) 45%, rgba(4,13,23,.27) 100%), linear-gradient(0deg, rgba(4,13,23,.92), transparent 44%); }
.hero-content { position: relative; padding: 144px 0 160px; }
.eyebrow { display: flex; gap: 10px; align-items: center; margin: 0 0 18px; color: var(--blue-bright); font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow span { width: 27px; height: 2px; background: currentColor; }
.eyebrow.dark { color: #128dc8; }
h1, h2, h3 { font-family: "Space Grotesk", Arial, sans-serif; }
h1 { max-width: 870px; margin: 0; font-size: clamp(48px, 6.2vw, 82px); line-height: 1.02; letter-spacing: -.065em; }
h1 em { color: var(--blue-bright); font-style: normal; }
.hero-text { max-width: 640px; margin: 26px 0 0; color: rgba(255,255,255,.73); font-size: 17px; line-height: 1.8; }
.hero-actions, .contact-actions { display: flex; gap: 16px; align-items: center; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 22px; font-size: 13px; font-weight: 800; letter-spacing: .025em; transition: .25s; }
.button-primary { background: var(--blue); color: #fff; }
.button-primary:hover { background: #087fbd; transform: translateY(-2px); }
.button-ghost { color: #fff; border: 1px solid rgba(255,255,255,.42); }
.button-ghost:hover { border-color: #fff; background: rgba(255,255,255,.07); }
.hero-bottom { position: absolute; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.hero-highlight { min-height: 112px; padding: 22px 24px 18px 0; border-right: 1px solid var(--line); }
.hero-highlight:not(:first-child) { padding-left: 28px; }
.hero-highlight strong, .hero-highlight span { display: block; }
.hero-highlight strong { margin-bottom: 8px; color: #fff; font-family: "Space Grotesk"; font-size: 18px; }
.hero-highlight span { color: rgba(255,255,255,.57); font-size: 12px; }

.section { padding: 118px 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 92px; }
h2 { margin: 0; color: var(--navy); font-size: clamp(38px, 4.5vw, 60px); line-height: 1.06; letter-spacing: -.06em; }
h2 span { color: var(--blue); }
.intro-copy { padding-top: 31px; color: var(--slate); font-size: 16px; line-height: 1.85; }
.intro-copy p { margin: 0 0 14px; }
.text-link { display: inline-block; margin-top: 14px; color: #087fbd; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.text-link span { display: inline-block; margin-left: 7px; transition: .2s; }
.text-link:hover span { transform: translateX(6px); }

.services, .projects { background: var(--navy); color: #fff; }
.section-heading { display: flex; gap: 50px; align-items: end; justify-content: space-between; margin-bottom: 48px; }
.section-heading h2 { color: #fff; }
.section-heading p:last-child { max-width: 430px; margin: 0; color: rgba(255,255,255,.58); font-size: 15px; line-height: 1.8; }
.service-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 16px; }
.service-card { position: relative; min-height: 278px; overflow: hidden; }
.service-card.large { grid-row: span 2; min-height: 572px; }
.service-card img, .project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s; }
.service-card:hover img, .project-card:hover img { transform: scale(1.07); }
.card-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(1,9,16,.91), rgba(1,9,16,.05) 85%); }
.service-content { position: absolute; right: 0; bottom: 0; left: 0; padding: 28px; }
.service-number { display: block; margin-bottom: 10px; color: var(--blue-bright); font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.service-card h3 { margin: 0; font-size: 27px; letter-spacing: -.04em; }
.service-card p { max-width: 540px; margin: 10px 0 0; color: rgba(255,255,255,.68); font-size: 13px; line-height: 1.7; }
.service-card a { display: inline-block; margin-top: 18px; color: var(--blue-bright); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.services-list { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 62px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services-list div { padding: 21px 12px; border-right: 1px solid var(--line); color: rgba(255,255,255,.78); font-size: 13px; font-weight: 700; }
.services-list div:first-child { padding-left: 0; }
.services-list span { display: block; margin-bottom: 6px; color: var(--blue-bright); font-size: 11px; }

.process, .values { background: var(--ice); }
.section-heading.light h2 { color: var(--navy); }
.section-heading.light p:last-child { color: var(--slate); }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 28px; border-top: 1px solid var(--dark-line); }
.process-grid article { min-height: 234px; padding: 25px 18px 12px 0; border-right: 1px solid var(--dark-line); }
.process-grid article:not(:first-child) { padding-left: 22px; }
.process-grid strong { color: var(--blue); font-size: 12px; letter-spacing: .12em; }
.process-grid h3 { margin: 50px 0 7px; font-size: 20px; }
.process-grid p { margin: 0; color: var(--slate); font-size: 13px; line-height: 1.7; }

.project-grid { display: grid; grid-template-columns: 1.3fr .7fr; grid-template-rows: repeat(2, 242px); gap: 16px; }
.project-card { position: relative; margin: 0; overflow: hidden; }
.project-card.featured { grid-row: span 2; }
.project-card figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 22px; background: linear-gradient(0deg, rgba(1,9,16,.9), transparent); }
.project-card small, .project-card strong { display: block; }
.project-card small { margin-bottom: 6px; color: var(--blue-bright); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.project-card strong { font-family: "Space Grotesk"; font-size: 20px; }

.values-intro p:last-child { max-width: 480px; margin-top: 24px; color: var(--slate); font-size: 15px; line-height: 1.8; }
.value-list { border-top: 1px solid var(--dark-line); }
.value-list article { display: flex; gap: 24px; padding: 19px 0; border-bottom: 1px solid var(--dark-line); }
.value-list span { padding-top: 4px; color: var(--blue); font-size: 11px; font-weight: 800; }
.value-list h3 { margin: 0 0 6px; font-size: 20px; letter-spacing: -.03em; }
.value-list p { margin: 0; color: var(--slate); font-size: 13px; line-height: 1.65; }

.contact { position: relative; padding: 122px 0; overflow: hidden; color: #fff; }
.contact-image, .contact-overlay { position: absolute; inset: 0; }
.contact-image { background: url("assets/equipe.webp") center 40%/cover no-repeat; }
.contact-overlay { background: linear-gradient(90deg, rgba(4,13,23,.98), rgba(4,13,23,.78) 58%, rgba(4,13,23,.32)); }
.contact-content { position: relative; }
.contact h2 { max-width: 790px; color: #fff; }
.contact p:last-of-type { max-width: 580px; color: rgba(255,255,255,.66); font-size: 16px; line-height: 1.8; }
.phone-link { color: #fff; font-family: "Space Grotesk"; font-size: 20px; }

footer { padding-top: 58px; background: #040e19; color: rgba(255,255,255,.65); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1.4fr 1.25fr; gap: 38px; padding-bottom: 40px; }
.footer-brand img { width: 170px; height: 96px; object-fit: contain; }
.footer-brand p, footer p { max-width: 340px; margin: 12px 0 0; font-size: 12px; line-height: 1.8; }
footer h3 { margin: 12px 0 16px; color: #fff; font-size: 14px; }
footer a { display: block; margin: 10px 0; font-size: 12px; transition: .2s; }
footer a:hover { color: var(--blue-bright); }
.footer-bottom { display: flex; justify-content: space-between; padding: 18px 0; border-top: 1px solid var(--line); font-size: 11px; }

.whatsapp-float { position: fixed; z-index: 10; right: 25px; bottom: 24px; display: grid; width: 57px; height: 57px; place-items: center; border-radius: 50%; background: #25d366; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: .2s; }
.whatsapp-float:hover { transform: translateY(-4px); }
.whatsapp-float svg { width: 32px; fill: #fff; }

@keyframes settle { from { transform: scale(1.12); } to { transform: scale(1.05); } }

@media (max-width: 840px) {
  .container { width: min(100% - 32px, 680px); }
  .site-header { background: rgba(4,14,25,.92); backdrop-filter: blur(15px); }
  .nav { min-height: 70px; }
  .brand img { width: 120px; height: 58px; }
  .menu-toggle { display: block; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links { position: absolute; top: 70px; right: 0; left: 0; display: none; padding: 22px 16px 28px; background: rgba(4,14,25,.97); border-bottom: 1px solid var(--line); }
  .nav-links.open { display: grid; gap: 18px; }
  .nav-cta { width: fit-content; }
  .hero { min-height: 760px; }
  .hero-image { background-position: 63% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(4,13,23,.96), rgba(4,13,23,.69)); }
  .hero-content { padding: 105px 0 210px; }
  .hero-text { font-size: 15px; }
  .hero-actions { align-items: stretch; flex-direction: column; width: fit-content; }
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-highlight { min-height: auto; padding: 10px 0 !important; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-highlight strong { display: inline-block; width: 145px; margin: 0 7px 0 0; font-size: 14px; }
  .hero-highlight span { display: inline; font-size: 10px; }
  .section { padding: 80px 0; }
  .split { grid-template-columns: 1fr; gap: 16px; }
  .intro-copy { padding-top: 0; }
  .section-heading { display: block; }
  .section-heading p:last-child { margin-top: 18px; }
  .service-grid, .project-grid { display: block; }
  .service-card, .service-card.large, .project-card, .project-card.featured { min-height: 300px; margin-bottom: 14px; }
  .services-list, .process-grid { grid-template-columns: 1fr 1fr; }
  .services-list div:first-child { padding-left: 12px; }
  .process-grid article, .process-grid article:not(:first-child) { min-height: 180px; padding: 18px 14px; }
  .process-grid h3 { margin-top: 30px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 500px) {
  h1 { font-size: 48px; }
  h2 { font-size: 40px; }
  .button { font-size: 12px; }
  .service-card h3 { font-size: 24px; }
  .services-list, .process-grid { grid-template-columns: 1fr; }
  .process-grid article { min-height: auto !important; }
  .process-grid h3 { margin-top: 16px; }
  .footer-top { grid-template-columns: 1fr; gap: 10px; }
  .footer-bottom { display: block; line-height: 2; }
}
