/* VTL Rakić — feuille de style unique */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/fonts/manrope-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/fonts/manrope-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blue: #5566ac;          /* bleu du logo */
  --blue-soft: #e9ecf7;
  --navy: #1c2540;          /* sections sombres */
  --navy-2: #253052;
  --orange: #ee801e;        /* orange du logo */
  --orange-dark: #c9640b;
  --ink: #18203a;
  --text: #3d4659;
  --muted: #6b7386;
  --line: #e4e6ec;
  --bg: #ffffff;
  --tint: #f5f6fa;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(24, 32, 58, .05), 0 8px 24px rgba(24, 32, 58, .07);
  --shadow-lg: 0 2px 4px rgba(24, 32, 58, .06), 0 24px 48px rgba(24, 32, 58, .14);
  --header-h: 76px;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
[role="list"] { list-style: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .8em 1.35em; border-radius: 999px; font: inherit; font-weight: 700; font-size: .95rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; white-space: nowrap; }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .2s; }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn-lg { padding: 1em 1.7em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-accent { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(238, 128, 30, .3); }
.btn-accent:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .14); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }

.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; color: var(--blue); text-decoration: none; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

.eyebrow { display: inline-flex; align-items: center; gap: .6em; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-dark); margin-bottom: 1em; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-light { color: #ffb36b; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text); }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(24, 32, 58, .06); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand img { width: auto; height: 54px; }
.nav { margin-left: auto; }
.nav-list { display: flex; gap: 6px; list-style: none; }
.nav-list a { display: block; padding: .5em 1em; border-radius: 999px; color: var(--ink); font-weight: 600; font-size: .96rem; text-decoration: none; transition: background .2s, color .2s; }
.nav-list a:hover { background: var(--tint); }
.nav-list a[aria-current="page"] { background: var(--blue-soft); color: var(--blue); }
.nav-cta-mobile { display: none; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .brand img { height: 46px; }
  .header-cta { display: none; }
  .nav-toggle { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
  .nav-toggle .icon { width: 24px; height: 24px; }
  .nav-list { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 4px; padding: 16px 20px 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(24, 32, 58, .12); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .nav-list.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-list a { padding: .85em 1em; font-size: 1.05rem; }
  .nav-cta-mobile { display: block; margin-top: 8px; }
  .nav-cta-mobile .btn { width: 100%; color: #fff; }
  .nav-cta-mobile .btn:hover { background: var(--orange-dark); }
}

/* ---------- Héros d'accueil ---------- */
.hero { position: relative; isolation: isolate; min-height: min(88vh, 820px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--navy); }
.hero-bg, .page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(20, 27, 48, .92) 0%, rgba(20, 27, 48, .72) 45%, rgba(20, 27, 48, .15) 100%), linear-gradient(0deg, rgba(20, 27, 48, .6), transparent 45%); }
.hero-inner { padding: 120px 0 72px; }
.hero h1 { color: #fff; max-width: 13ch; }
.hero-lead { font-size: clamp(1.08rem, 1.8vw, 1.3rem); max-width: 40ch; color: rgba(255, 255, 255, .88); margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .18); font-weight: 600; font-size: .95rem; color: rgba(255, 255, 255, .9); }
.hero-points li { display: flex; align-items: center; gap: .5em; }
.hero-points .icon { color: var(--orange); stroke-width: 2.5; }

/* ---------- En-tête des pages internes ---------- */
.page-hero { position: relative; isolation: isolate; background: var(--navy); color: #fff; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 400px at 85% 0%, rgba(85, 102, 172, .55), transparent 70%), radial-gradient(600px 300px at 0% 100%, rgba(238, 128, 30, .18), transparent 70%); }
.page-hero:has(.page-hero-bg)::before { background: linear-gradient(100deg, rgba(20, 27, 48, .94) 0%, rgba(20, 27, 48, .78) 55%, rgba(20, 27, 48, .45) 100%); }
.page-hero-inner { padding: 88px 0 80px; }
.page-hero-full .page-hero-inner { padding: 140px 0 160px; }
.page-hero h1 { color: #fff; }
.page-hero .eyebrow { color: #ffb36b; }
.page-hero .lead { color: rgba(255, 255, 255, .85); max-width: 60ch; margin: 0; }
.page-hero .hero-actions { margin-top: 32px; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tight { padding-top: clamp(40px, 6vw, 72px); }
.section-tint { background: var(--tint); }
.section-dark { background: var(--navy); color: rgba(255, 255, 255, .8); }
.section-dark h2 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .lead { margin: 0; }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.section-head-row h2 { margin: 0; }

/* Texte + image */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split-media { position: relative; margin: 0; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.badge-float { position: absolute; left: -24px; bottom: 32px; display: flex; align-items: center; gap: 14px; padding: 16px 22px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); color: var(--text); font-size: .9rem; line-height: 1.3; }
.badge-float strong { font-size: 2.2rem; color: var(--orange); letter-spacing: -.03em; line-height: 1; }
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .split-media img { aspect-ratio: 4 / 3; }
  .badge-float { left: 16px; bottom: 16px; }
}

/* Cartes prestations */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); margin-bottom: 22px; }
.card-icon .icon { width: 28px; height: 28px; }
.card:hover .card-icon { background: var(--orange); color: #fff; }
.card p { margin: 0; color: var(--muted); }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } .card { padding: 24px 22px; } }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; counter-reset: s; }
.step { position: relative; padding: 32px 28px; border-radius: var(--radius-lg); background: var(--tint); overflow: hidden; }
.step-num { position: absolute; top: 18px; right: 22px; font-size: 3.6rem; font-weight: 800; line-height: 1; color: rgba(85, 102, 172, .13); letter-spacing: -.04em; }
.step-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--orange); color: #fff; margin-bottom: 22px; box-shadow: 0 8px 20px rgba(238, 128, 30, .3); }
.step-icon .icon { width: 26px; height: 26px; }
.step p { margin: 0; color: var(--muted); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.promise { display: flex; align-items: center; gap: 14px; margin: 40px 0 0; padding: 22px 26px; border-radius: var(--radius); background: var(--blue-soft); color: var(--ink); font-weight: 600; }
.promise .icon { width: 30px; height: 30px; color: var(--blue); }

/* Projets (accueil) */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.projects a { display: block; border-radius: var(--radius); overflow: hidden; }
.projects img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s; }
.projects a:hover img { transform: scale(1.05); }
@media (max-width: 900px) { .projects { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .projects { grid-template-columns: 1fr; } }

/* Matériaux */
.materials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.material { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; }
.material-media { display: grid; place-items: center; padding: 32px; background: linear-gradient(160deg, #eef1f9, #dfe4f3); }
.material-media img { width: 120px; filter: drop-shadow(0 12px 18px rgba(24, 32, 58, .2)); border-radius: 4px; }
.material > div:last-child { padding: 26px 28px 30px; }
.material p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .materials { grid-template-columns: 1fr; } .material { display: grid; grid-template-columns: 180px 1fr; } .material-media { padding: 20px; } }
@media (max-width: 520px) { .material { grid-template-columns: 1fr; } }

/* Bandeau d'appel */
.cta-band { display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; padding: clamp(32px, 5vw, 56px); border-radius: var(--radius-lg); background: radial-gradient(700px 300px at 100% 0%, rgba(85, 102, 172, .6), transparent 70%), var(--navy); color: rgba(255, 255, 255, .82); }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { margin: 0; max-width: 56ch; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-actions { flex-direction: row; flex-wrap: wrap; } }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); grid-auto-flow: dense; gap: 14px; }
.gallery li.wide { grid-column: span 2; }
.gallery a { display: block; height: 100%; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--tint); cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .5s, opacity .3s; }
.gallery a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 27, 48, .35), transparent 50%); opacity: 0; transition: opacity .3s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery a:hover::after { opacity: 1; }
.gallery li.wide img { aspect-ratio: auto; }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr 1fr; gap: 10px; } }

.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(12, 16, 30, .94); padding: 60px 72px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-height: 100%; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; border-radius: 8px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox figcaption { color: rgba(255, 255, 255, .8); font-size: .95rem; text-align: center; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; transition: background .2s; }
.lb-btn:hover { background: rgba(255, 255, 255, .25); }
.lb-btn .icon { width: 24px; height: 24px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) { .lightbox { padding: 70px 12px 90px; } .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; } .lb-prev { left: calc(50% - 62px); } .lb-next { right: calc(50% - 62px); } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact-aside .lead { margin-bottom: 1.6em; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

.info-list { display: grid; gap: 12px; }
.info-list li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.info-list strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.info-list a { color: var(--ink); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.info-list a:hover { color: var(--blue); }
.info-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--blue-soft); color: var(--blue); }
.info-icon.wa { background: #e4f7ea; color: #1f9d4c; }
.contact-photo { margin: 24px 0 0; }
.contact-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-lg); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-title { font-size: 1.7rem; margin-bottom: .2em; }
.form-lead { color: var(--muted); margin-bottom: 1.6em; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field label span { color: var(--orange-dark); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--tint); border: 1.5px solid transparent; border-radius: 12px; padding: .8em 1em; transition: border-color .2s, background .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(85, 102, 172, .15); }
.field input:user-invalid { border-color: #d0453b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 14px 0 0; font-weight: 600; min-height: 1.5em; }
.form-status.ok { color: #1f8a4c; }
.form-status.err { color: #c0392b; }

/* ---------- Pied de page ---------- */
.site-footer { background: #141b30; color: rgba(255, 255, 255, .7); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.2fr .8fr .8fr; gap: 40px; padding: 72px 0 48px; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; }
.footer-title { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; }
.footer-list { list-style: none; display: grid; gap: 12px; }
.footer-list a { display: flex; gap: 10px; color: rgba(255, 255, 255, .78); text-decoration: none; transition: color .2s; }
.footer-list a:hover { color: #fff; }
.footer-list .icon { color: var(--orange); margin-top: .2em; }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s; }
.socials a:hover { background: var(--orange); }
.socials .icon { width: 22px; height: 22px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0 28px; font-size: .88rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; } }

/* Bouton WhatsApp flottant */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 10px 28px rgba(37, 211, 102, .4); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float .icon { width: 30px; height: 30px; }

/* Apparition au défilement */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}
