:root {
    --night: #07111b;
    --night-2: #0b1924;
    --paper: #f5f7f4;
    --mint: #65f2b8;
    --mint-bright: #9bffd6;
    --coral: #ff795d;
    --ink: #102019;
    --line: rgb(229 245 239 / 14%);
    --shadow-soft: 0 22px 60px rgb(2 13 20 / 16%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--night);
    color: #f7faf8;
    font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { width: min(1240px, calc(100% - 64px)); margin: auto; }
.skip { position: absolute; top: -80px; left: 12px; z-index: 30; padding: 12px; background: white; color: #111; }
.skip:focus { top: 12px; }

/* Shared public header: intentionally identical on the home and content pages. */
.topbar { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgb(5 15 22 / 93%); backdrop-filter: blur(18px); }
.topbar::before { display: block; height: 2px; background: linear-gradient(90deg, var(--mint), #36d8c2 42%, var(--coral) 76%, transparent); content: ""; }
.nav { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 26px; }
.nav-menu { display: contents; }
.nav-menu > summary { display: none; }
.nav-menu-panel { display: contents; }
.logo { display: flex; flex: none; align-items: center; gap: 11px; font-size: 21px; font-weight: 950; letter-spacing: -.8px; }
.logo img { width: 43px; height: 43px; }
.logo strong { color: var(--mint); }
.navlinks { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); color: #d9e3df; font-size: 12px; font-weight: 750; }
.navlinks a { transition: color .2s ease; }
.navlinks a:hover, .navlinks [aria-current] { color: var(--mint-bright); }

.nav-cta, .btn {
    position: relative;
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    overflow: hidden;
    padding: 13px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: linear-gradient(115deg, var(--mint-bright), var(--mint) 56%, #43dcc2);
    box-shadow: 0 8px 26px rgb(101 242 184 / 16%);
    color: #071611;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}
.nav-cta::after, .btn:not(.secondary)::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 25%, rgb(255 255 255 / 44%) 48%, transparent 70%);
    content: "";
    transform: translateX(-120%);
    transition: transform .55s ease;
}
.nav-cta:hover, .btn:hover { box-shadow: 0 13px 34px rgb(101 242 184 / 28%); transform: translateY(-3px); }
.nav-cta:hover::after, .btn:not(.secondary):hover::after { transform: translateX(120%); }
.btn.secondary { border-color: rgb(225 239 235 / 42%); background: rgb(8 22 32 / 74%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 3%); color: #f5faf8; }
.btn.secondary:hover { border-color: var(--mint); background: rgb(101 242 184 / 9%); box-shadow: 0 12px 28px rgb(0 0 0 / 18%); }
.btn:focus-visible, .nav-cta:focus-visible, .under-link:focus-visible, .digital-card:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }

/* Landing hero */
.hero { position: relative; isolation: isolate; display: flex; min-height: min(760px, calc(100svh - 78px)); align-items: center; overflow: hidden; background: #061019; }
.hero::before {
    position: absolute;
    z-index: -2;
    inset: 0;
    background: url('/images/repapop-home-hero.jpg') 58% 48% / cover no-repeat;
    content: "";
    mask-image: linear-gradient(90deg, transparent 0%, #000 31%, #000 100%);
    transform: scale(1.025);
    animation: hero-photo-in 1.1s cubic-bezier(.2, .7, .25, 1) both;
}
.hero::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        radial-gradient(ellipse at 75% 12%, rgb(101 242 184 / 12%), transparent 35%),
        linear-gradient(90deg, #07111b 0%, rgb(7 17 27 / 96%) 24%, rgb(7 17 27 / 75%) 47%, rgb(7 17 27 / 17%) 80%, rgb(7 17 27 / 42%) 100%),
        linear-gradient(0deg, rgb(7 17 27 / 55%), transparent 35%);
    content: "";
}
.hero-inner { position: relative; padding: 92px 0 115px; animation: hero-copy-in .7s .08s ease-out both; }
.eyebrow, .kicker { margin: 0 0 18px; color: var(--mint); font-size: 11px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 8px 13px; border: 1px solid rgb(155 255 214 / 24%); border-radius: 999px; background: rgb(5 20 25 / 54%); backdrop-filter: blur(8px); }
.hero .eyebrow::before { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 13px var(--mint); content: ""; }
h1 { max-width: 800px; margin: 0; font-size: clamp(58px, 8vw, 100px); font-weight: 950; letter-spacing: -.075em; line-height: .94; text-wrap: balance; }
h1 em, .approach h2 em, .digital-offer h2 em { color: var(--mint); font-style: normal; }
.hero-copy { max-width: 570px; margin: 23px 0; color: #e0e8e5; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.7; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.trustnote { display: flex; align-items: center; gap: 9px; margin-top: 20px; color: #d0ded8; font-size: 12px; }
.trustnote::first-letter { color: var(--mint); }
.hero-bottom { position: absolute; right: 0; bottom: 0; left: 0; border-top: 1px solid rgb(229 245 239 / 20%); background: linear-gradient(90deg, rgb(7 17 27 / 94%), rgb(7 17 27 / 72%)); backdrop-filter: blur(14px); }
.hero-strip { display: flex; min-height: 70px; align-items: center; justify-content: space-between; gap: 20px; font-size: 11px; font-weight: 750; }
.device-list { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.device-list span { color: #263b5c; }
.device-list i { width: 4px; height: 4px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 8px rgb(255 121 93 / 75%); }
.strip-note { color: #263b5c; }

/* Repair categories */
.services, .story { padding: 82px 0; background: var(--paper); color: var(--ink); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 31px; }
.kicker { margin-bottom: 8px; color: #14895a; }
.section-head h2, .story h2, .contact h2, .digital-offer h2 { margin: 0; font-size: clamp(35px, 4.7vw, 58px); letter-spacing: -.065em; line-height: 1.02; text-wrap: balance; }
.section-head h2 span, .story h2 span { color: #20ad70; }
.under-link { color: #168659; font-size: 12px; font-weight: 900; white-space: nowrap; transition: color .2s ease; }
.under-link:hover { color: #0b5b3a; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.card { position: relative; min-height: 194px; padding: 22px; border: 1px solid #dce6df; border-radius: 19px; background: linear-gradient(145deg, #fff, #fbfdfb); box-shadow: 0 5px 20px rgb(16 32 25 / 3%); transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease; }
.card:hover { border-color: #91d6b2; box-shadow: 0 18px 38px rgb(21 43 27 / 11%); transform: translateY(-5px); }
.card-icon { display: grid; width: 45px; height: 45px; margin-bottom: 17px; place-items: center; border: 1px solid #c9f0dc; border-radius: 15px; background: linear-gradient(145deg, #e9faf2, #d9f4e6); color: #138c5b; }
.card h3 { margin: 0 0 6px; font-size: 16px; }
.card p { margin: 0; color: #65736b; font-size: 12px; line-height: 1.65; }
.card-arrow { position: absolute; right: 19px; bottom: 17px; color: #128657; transition: transform .2s ease; }
.card:hover .card-arrow { transform: translate(3px, -3px); }
.disclaimer { margin: 18px 0 0; color: #6e7c73; font-size: 11px; }

/* Broader digital services */
.digital-offer { position: relative; isolation: isolate; overflow: hidden; padding: 84px 0 92px; background: radial-gradient(ellipse at 8% 4%, rgb(101 242 184 / 11%), transparent 33%), radial-gradient(ellipse at 100% 90%, rgb(255 121 93 / 8%), transparent 30%), linear-gradient(145deg, #0a1924, #09131d 65%, #0e1d25); }
.digital-offer::before { position: absolute; z-index: -1; top: -210px; right: -145px; width: 440px; height: 440px; border: 1px solid rgb(101 242 184 / 10%); border-radius: 50%; box-shadow: 0 0 0 36px rgb(101 242 184 / 2%), 0 0 0 74px rgb(101 242 184 / 2%); content: ""; }
.digital-offer::after { position: absolute; z-index: -2; inset: 0 0 0 auto; width: min(54vw, 760px); background: linear-gradient(90deg, #0a1924 0%, rgb(10 25 36 / 80%) 27%, rgb(10 25 36 / 20%) 100%), url('/images/repapop-digital-studio-v1.png') center / cover no-repeat; content: ""; opacity: .58; pointer-events: none; }
.digital-offer-heading { display: grid; grid-template-columns: 1fr minmax(250px, .65fr); align-items: end; gap: 50px; margin-bottom: 34px; }
.digital-offer .eyebrow { margin-bottom: 12px; }
.digital-offer h2 { max-width: 650px; color: #f6fbf8; }
.digital-offer h2 em { color: var(--mint-bright); }
.digital-offer-heading > p { max-width: 430px; margin: 0 0 5px; color: #b8c8c1; font-size: 14px; line-height: 1.75; }
.digital-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.digital-card { position: relative; display: flex; min-height: 210px; flex-direction: column; align-items: flex-start; padding: 25px; overflow: hidden; border: 1px solid rgb(213 238 226 / 14%); border-radius: 20px; background: linear-gradient(145deg, rgb(255 255 255 / 6%), rgb(255 255 255 / 2%)); box-shadow: inset 0 1px 0 rgb(255 255 255 / 4%); transition: border-color .24s ease, background .24s ease, transform .24s ease, box-shadow .24s ease; }
.digital-card::before { position: absolute; right: -52px; bottom: -89px; width: 170px; height: 170px; border: 1px solid rgb(101 242 184 / 12%); border-radius: 50%; content: ""; transition: transform .35s ease; }
.digital-card:hover { border-color: rgb(101 242 184 / 45%); background: linear-gradient(145deg, rgb(101 242 184 / 11%), rgb(255 255 255 / 3%)); box-shadow: 0 20px 45px rgb(0 0 0 / 18%); transform: translateY(-5px); }
.digital-card:hover::before { transform: scale(1.18); }
.digital-icon { display: grid; width: 49px; height: 49px; margin-bottom: 22px; place-items: center; border: 1px solid rgb(101 242 184 / 24%); border-radius: 16px; background: linear-gradient(145deg, rgb(101 242 184 / 18%), rgb(255 121 93 / 9%)); color: var(--mint-bright); }
.digital-icon svg { width: 25px; height: 25px; }
.digital-card-copy { display: grid; gap: 7px; padding-right: 15px; }
.digital-card-copy strong { color: #f8fcfa; font-size: 17px; }
.digital-card-copy > span { color: #b7c6c0; font-size: 12px; line-height: 1.65; }
.digital-arrow { position: absolute; top: 26px; right: 25px; color: var(--mint); transition: transform .2s ease; }
.digital-card:hover .digital-arrow { transform: translate(3px, -3px); }

/* How it works */
.approach { padding: 86px 0; background: var(--night-2); }
.approach-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(45px, 9vw, 130px); }
.approach h2 { margin: 0; font-size: clamp(38px, 5vw, 62px); letter-spacing: -.065em; line-height: 1; text-wrap: balance; }
.approach-copy > p:last-child { color: #b5c4bf; font-size: 14px; line-height: 1.8; }
.steps { border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 54px 1fr; gap: 19px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.step-num { color: var(--mint); font-weight: 900; }
.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; color: #aebdb7; font-size: 13px; line-height: 1.7; }

/* Local workshop story */
.story-grid { display: grid; min-height: 420px; grid-template-columns: 1.08fr .92fr; overflow: hidden; border-radius: 24px; background: white; box-shadow: var(--shadow-soft); }
.story-photo { position: relative; min-height: 390px; background: url('/images/atelier.jpg') center / cover no-repeat; }
.story-photo::after { position: absolute; inset: 45% 0 0; background: linear-gradient(0deg, rgb(5 18 18 / 66%), transparent); content: ""; }
.photo-label { position: absolute; z-index: 1; bottom: 22px; left: 25px; padding: 8px 12px; border: 1px solid rgb(255 255 255 / 25%); border-radius: 999px; background: rgb(5 18 18 / 42%); color: white; font-size: 11px; font-weight: 900; backdrop-filter: blur(8px); }
.story-copy { align-self: center; padding: clamp(30px, 5vw, 64px); }
.story-copy > p:not(.kicker) { color: #596960; font-size: 14px; line-height: 1.85; }

/* Closing call to action and shared footer */
.contact { padding: 78px 0 90px; background: radial-gradient(ellipse at 85% 0%, #12433d 0%, transparent 37%), var(--night); }
.contact-panel { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(30px, 5vw, 58px); border: 1px solid rgb(101 242 184 / 23%); border-radius: 24px; background: radial-gradient(ellipse at 100% 0%, rgb(101 242 184 / 9%), transparent 38%), linear-gradient(115deg, #0d2426, #0a1a22 72%); box-shadow: 0 26px 70px rgb(0 0 0 / 18%); }
.contact-copy { max-width: 620px; color: #ffffff; }
.contact-copy .eyebrow { color: #b8d6ff; }
.contact-copy > p:last-child { max-width: 550px; color: #b9c9c2; font-size: 14px; line-height: 1.75; }
.contact-actions { display: flex; flex-direction: column; align-items: stretch; gap: 11px; }
.site-footer { padding: 68px 0 20px; border-top: 1px solid var(--line); background: radial-gradient(ellipse at 12% 0%, rgb(101 242 184 / 8%), transparent 32%), #050d14; }
.footer-grid { display: grid; grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(130px, .72fr)); gap: clamp(26px, 4vw, 64px); padding-bottom: 52px; }
.footer-brand .logo { display: inline-flex; margin-bottom: 20px; font-size: 20px; }
.footer-brand .logo img { width: 40px; height: 40px; }
.footer-brand p { max-width: 290px; margin: 0; color: #aab9b3; font-size: 13px; line-height: 1.75; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-column h2 { margin: 0 0 5px; color: #f3f8f5; font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.footer-column a { color: #9eaea7; font-size: 13px; line-height: 1.5; transition: color .2s ease, transform .2s ease; }
.footer-column a:hover { color: var(--mint); transform: translateX(3px); }
.footer-contact p { max-width: 240px; margin: 0 0 6px; color: #9eaea7; font-size: 13px; line-height: 1.65; }
.footer-contact-link { color: var(--mint) !important; font-weight: 850; }
.footer-social { font-size: 12px !important; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / 10%); color: #7f9189; font-size: 11px; }
.repapop-language-picker { position: relative; }
.repapop-language-picker summary { padding: 10px 13px; border: 1px solid rgb(255 255 255 / 19%); border-radius: 999px; color: #e5eee9; font-size: 12px; font-weight: 700; cursor: pointer; list-style: none; }
.repapop-language-picker nav { position: absolute; right: 0; bottom: calc(100% + 8px); min-width: 150px; padding: 6px; border: 1px solid rgb(255 255 255 / 14%); border-radius: 12px; background: #0b1924; box-shadow: 0 14px 35px rgb(0 0 0 / 53%); }
.repapop-language-picker nav a { display: block; padding: 9px 12px; border-radius: 8px; }
.repapop-language-picker nav a:hover { background: rgb(255 255 255 / 9%); }

@keyframes hero-photo-in { from { opacity: .25; transform: scale(1.07); } to { opacity: 1; transform: scale(1.025); } }
@keyframes hero-copy-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 960px) {
    .nav { flex-wrap: wrap; padding: 13px 0; }
    .navlinks { order: 3; width: 100%; flex-wrap: wrap; justify-content: center; }
    .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .approach-grid { gap: 50px; }
    .digital-offer-heading { grid-template-columns: 1fr; gap: 18px; }
    .digital-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
    .wrap { width: calc(100% - 34px); }
    .nav { position: relative; display: flex; min-height: 70px; }
    .nav-menu { display: block; margin-left: auto; }
    .nav-menu > summary { display: inline-flex; min-width: 92px; min-height: 42px; align-items: center; justify-content: center; gap: 10px; padding: 0 15px; border: 1px solid rgb(101 242 184 / 35%); border-radius: 999px; background: rgb(101 242 184 / 8%); color: #effaf5; font-size: 12px; font-weight: 850; cursor: pointer; list-style: none; }
    .nav-menu > summary::-webkit-details-marker { display: none; }
    .nav-menu > summary i, .nav-menu > summary i::before { display: block; width: 17px; height: 2px; border-radius: 2px; background: var(--mint); content: ""; transition: transform .2s ease; }
    .nav-menu > summary i::before { transform: translateY(-5px); box-shadow: 0 10px 0 var(--mint); }
    .nav-menu[open] > summary i { transform: rotate(45deg); }
    .nav-menu[open] > summary i::before { transform: translateY(0) rotate(-90deg); box-shadow: none; }
    .nav-menu-panel { position: absolute; z-index: 30; top: calc(100% - 6px); right: 0; display: grid; width: min(330px, calc(100vw - 34px)); gap: 8px; padding: 12px; border: 1px solid rgb(255 255 255 / 12%); border-radius: 18px; background: rgb(5 15 22 / 98%); box-shadow: 0 20px 48px rgb(0 0 0 / 44%); animation: menu-in .2s ease-out both; }
    .navlinks { display: grid; grid-template-columns: 1fr; gap: 2px; }
    .navlinks a { padding: 12px 13px; border-radius: 10px; font-size: 13px; }
    .navlinks a:hover, .navlinks [aria-current] { background: rgb(101 242 184 / 10%); }
    .nav-menu-panel .nav-cta { justify-content: center; width: 100%; margin-top: 4px; }
    .hero { min-height: 700px; align-items: flex-start; }
    .hero::before { inset: 15% -54% 0 0; background-position: 65% center; mask-image: linear-gradient(180deg, transparent 0%, #000 40%); }
    .hero::after { background: linear-gradient(180deg, #07111b 0%, rgb(7 17 27 / 93%) 31%, rgb(7 17 27 / 68%) 65%, #07111b 100%); }
    .hero-inner { padding: 55px 0 135px; }
    h1 { font-size: clamp(56px, 14vw, 78px); }
    .hero-copy { font-size: 16px; }
    .hero-strip { align-items: flex-start; flex-direction: column; gap: 5px; padding: 11px 0; }
    .section-head, .contact-panel { align-items: flex-start; flex-direction: column; }
    .services, .digital-offer, .approach, .story { padding: 59px 0; }
    .digital-offer::after { width: 100%; opacity: .2; background: linear-gradient(180deg, rgb(10 25 36 / 88%), rgb(10 25 36 / 54%)), url('/images/repapop-digital-studio-v1.png') center / cover no-repeat; }
    .cards, .digital-grid { grid-template-columns: 1fr; gap: 11px; }
    .card { min-height: 160px; padding: 19px; }
    .digital-card { min-height: 185px; }
    .approach-grid, .story-grid { grid-template-columns: 1fr; }
    .story-photo { min-height: 280px; }
    .contact-actions { width: 100%; flex-direction: row; flex-wrap: wrap; }
    .site-footer { padding-top: 50px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; padding-bottom: 36px; }
    .footer-brand { grid-column: auto; }
    .footer-column { padding-top: 22px; border-top: 1px solid rgb(255 255 255 / 9%); }
    .footer-bottom { align-items: flex-start; flex-direction: column; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* RÉPAPOP — refreshed light visual system */
:root {
    --night: #12213d;
    --night-2: #1c3155;
    --paper: #f7f9fc;
    --mint: #54d99c;
    --mint-bright: #54d99c;
    --coral: #ff7867;
    --ink: #12213d;
    --line: #dce4f0;
    --shadow-soft: 0 24px 70px rgb(35 57 92 / 12%);
}
body { background: var(--paper); color: var(--ink); }
.topbar { background: rgb(255 255 255 / 92%); border-bottom-color: var(--line); }
.topbar::before { background: linear-gradient(90deg, var(--coral), #b7a8ff 48%, var(--mint) 100%); }
.navlinks { color: #53627d; }
.navlinks a:hover, .navlinks [aria-current] { color: var(--ink); }
.logo { color: var(--ink); }
.logo strong { color: var(--coral); }
.nav-cta, .btn { background: var(--coral); color: #fff; box-shadow: 0 10px 24px rgb(255 120 103 / 22%); }
.nav-cta:hover, .btn:hover { box-shadow: 0 14px 30px rgb(255 120 103 / 30%); }
.btn.secondary { border-color: #cbd6e5; background: #fff; color: var(--ink); }
.hero { min-height: min(720px, calc(100svh - 78px)); background: #edf3fb; color: var(--ink); }
.hero::before { opacity: .32; filter: saturate(.75); }
.hero::after { background: linear-gradient(90deg, #f4f7fc 0%, rgb(244 247 252 / 97%) 43%, rgb(244 247 252 / 70%) 68%, rgb(244 247 252 / 22%) 100%); }
.hero h1 { color: var(--ink); }
.hero h1 em, h2 span, h2 em { color: var(--coral); }
.eyebrow, .kicker, .trustnote { color: #294469; }
.hero-copy { color: #263b5c; font-weight: 560; }
.hero .eyebrow { background: #ffffff !important; border-color: #cbd6e5 !important; color: #294469 !important; text-shadow: none; }
.hero-strip { border-top-color: #dce4f0; color: #53627d; }
.device-list i { background: #b7a8ff; }
.services, .approach, .story { background: #fff; color: var(--ink); }
.services h2, .approach h2, .story h2 { color: var(--ink); }
.card, .digital-card { background: #f7f9fc; border-color: #dce4f0; color: var(--ink); box-shadow: 0 14px 34px rgb(35 57 92 / 7%); }
.card:hover, .digital-card:hover { border-color: #b7a8ff; background: #fff; }
.card-visual { display: block; height: 72px; margin: -22px -22px 15px; overflow: hidden; border-radius: 19px 19px 0 0; background: #eef3fb; }
.card-visual img { width: 100%; height: 100%; object-fit: cover; opacity: .82; mix-blend-mode: multiply; }
.digital-card--1 { background: linear-gradient(135deg, #e9f7ff, #fff); }
.digital-card--2 { background: linear-gradient(135deg, #eeeaff, #fff); }
.digital-card--3 { background: linear-gradient(135deg, #fff0ec, #fff); }
.card p, .digital-card span, .approach-copy > p, .step p, .story-copy > p { color: #65738c; }
.card-icon, .digital-icon { color: #8c7df0; background: #eeeaff; }
.digital-offer { background: #eef1ff; color: var(--ink); }
.digital-offer::before { opacity: .18; }
.contact { background: #fff; }
.contact-panel { background: #12213d; box-shadow: var(--shadow-soft); }
.site-footer { background: #12213d; }
.skip:focus { background: var(--coral); color: #fff; }
@media (max-width: 760px) {
    .hero::after { background: linear-gradient(180deg, #f4f7fc 0%, rgb(244 247 252 / 96%) 42%, rgb(244 247 252 / 68%) 100%); }
    .nav-menu-panel { background: #fff; border-color: var(--line); box-shadow: 0 18px 40px rgb(35 57 92 / 14%); }
    .navlinks a:hover, .navlinks [aria-current] { background: #f1efff; }
}


/* Direction A — Air & cartes : accueil lumineux, lisible et coloré. */
.hero {
    min-height: 650px;
    background: #eef5ff;
}
.hero::before {
    opacity: .24;
    filter: saturate(.68) brightness(1.12);
}
.hero::after {
    background: linear-gradient(90deg, #f7fbff 0%, rgb(247 251 255 / 97%) 38%, rgb(247 251 255 / 80%) 62%, rgb(247 251 255 / 18%) 100%);
}
.hero-inner { padding-top: 92px; padding-bottom: 106px; }
.hero h1 { max-width: 640px; font-size: clamp(56px, 7vw, 94px); line-height: .94; letter-spacing: -.075em; }
.hero h1 em { display: inline-block; color: var(--coral); }
.hero-copy { max-width: 590px; font-size: 16px; line-height: 1.7; }
.hero-strip { background: rgb(255 255 255 / 86%); border-top-color: #d5e1f0; }
.hero-bottom { background: rgb(255 255 255 / 90%); }

.services { padding-top: 76px; padding-bottom: 76px; background: #fff; }
.section-head { align-items: end; }
.section-head h2, .digital-offer h2, .approach h2 { font-size: clamp(35px, 4.5vw, 58px); }
.section-head h2 span, .story h2 span { color: var(--coral); }
.kicker, .eyebrow { color: #266fd8; }
.cards { gap: 18px; }
.card { min-height: 258px; padding: 20px; overflow: hidden; border: 0; border-radius: 22px; box-shadow: 0 12px 28px rgb(39 77 126 / 10%); }
.card:nth-child(1) { background: linear-gradient(145deg, #eaf6ff, #f7fbff); }
.card:nth-child(2) { background: linear-gradient(145deg, #fff0ed, #fff9f7); }
.card:nth-child(3) { background: linear-gradient(145deg, #f0edff, #faf9ff); }
.card:nth-child(4) { background: linear-gradient(145deg, #eafff7, #f7fffc); }
.card-visual { height: 103px; margin: -20px -20px 14px; border-radius: 22px 22px 0 0; background: transparent; }
.card-visual img { opacity: .88; mix-blend-mode: multiply; }
.card-icon { display: none; }
.card h3 { font-size: 17px; }
.card p { max-width: 175px; color: #34496c; line-height: 1.5; }
.card-arrow { right: 18px; bottom: 18px; display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid currentColor; border-radius: 50%; color: #287cff; }
.card:nth-child(2) .card-arrow { color: var(--coral); }
.card:nth-child(3) .card-arrow { color: #7868f5; }
.card:nth-child(4) .card-arrow { color: #18b982; }

.digital-offer { background: #f1f4ff; }
.digital-offer::after { opacity: .12; }
.digital-offer-heading > p { color: #4b5f80; }
.digital-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.digital-card { min-height: 178px; border: 0; border-radius: 20px; box-shadow: 0 12px 26px rgb(39 77 126 / 8%); }
.digital-card--1 { background: linear-gradient(145deg, #1976ee, #5da7ff); }
.digital-card--2 { background: linear-gradient(145deg, #7563eb, #a293ff); }
.digital-card--3 { background: linear-gradient(145deg, #ff7867, #ff9e90); }
.digital-card--4 { background: linear-gradient(145deg, #18395f, #315782); }
.digital-card-copy strong, .digital-card-copy > span { color: #fff; }
.digital-icon { border-color: rgb(255 255 255 / 32%); background: rgb(255 255 255 / 17%); color: #fff; }
.digital-arrow { color: #fff; }

.approach { background: #102947; }
.approach .eyebrow, .approach h2 { color: #fff; }
.approach h2 em { color: var(--coral); }
.approach-copy > p:last-child, .step p { color: #d2def0; }
.steps { border-color: rgb(255 255 255 / 20%); }
.step { border-color: rgb(255 255 255 / 20%); }
.step-num { color: var(--coral); }

@media (max-width: 960px) {
    .digital-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
    .hero-inner { padding-top: 58px; padding-bottom: 125px; }
    .hero h1 { font-size: clamp(52px, 14vw, 78px); }
    .digital-grid { grid-template-columns: 1fr; }
    .card { min-height: 220px; }
    .card-visual { height: 88px; }
}

/* Header aligned with the validated RÉPAPOP mockup. */
.topbar { background: #071b35 !important; border-bottom: 1px solid rgb(255 255 255 / 15%); }
.nav { min-height: 70px; }
.logo { color: #fff !important; }
.logo strong { color: var(--coral) !important; }
.navlinks { color: #f5f8ff !important; }
.navlinks a { position: relative; padding: 25px 0 22px; color: #f5f8ff; font-size: 12px; }
.navlinks a:hover, .navlinks [aria-current] { color: #fff !important; }
.navlinks [aria-current]::after { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--coral); content: ""; }
.nav-cta { min-height: 42px; padding: 10px 20px; background: var(--coral) !important; }
@media (min-width: 761px) {
    .nav-menu { display: block; flex: 1 1 auto; min-width: 0; }
    .nav-menu-panel { display: flex !important; align-items: center; justify-content: flex-end; gap: clamp(18px, 2vw, 34px); }
    .navlinks { flex-wrap: nowrap; gap: clamp(12px, 1.5vw, 24px); }
    .nav-menu:not([open]) > .nav-menu-panel { display: flex !important; }
}
@media (max-width: 760px) {
    .nav { min-height: 70px; }
    .nav-menu > summary { border-color: rgb(255 255 255 / 30%); background: transparent; color: #fff; }
    .nav-menu-panel { background: #071b35 !important; }
    .navlinks a { padding: 12px 13px; }
    .navlinks [aria-current]::after { display: none; }
}

/* Final contrast and layout pass for the validated Air & cartes direction. */
.under-link,
.footer-contact-link { color: #1f6fd3 !important; }
.under-link:hover,
.footer-contact-link:hover { color: #174f96 !important; }
.digital-offer { background: #f0f3ff; }
.digital-offer::after { opacity: .08; }
.digital-offer h2 { color: #12213d; }
.digital-offer h2 em { color: var(--coral); }
.digital-offer-heading > p { color: #465d7d; }
.digital-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.approach .step h3 { color: #ffffff; }
.approach .step p { color: #d2def0; }
.story .under-link { color: #1f6fd3 !important; }
.strip-note { color: #294469; }
.footer-column a:hover { color: #ffffff; }
.footer-social { color: #b9c7da !important; }

/* Preserve each service colour on hover and keep every interactive element visible by keyboard. */
.digital-card:hover { border-color: transparent; color: #fff; }
.digital-card--1:hover { background: linear-gradient(145deg, #126ad9, #4b98f5); }
.digital-card--2:hover { background: linear-gradient(145deg, #6856df, #9484f5); }
.digital-card--3:hover { background: linear-gradient(145deg, #e96556, #f58b7d); }
.digital-card--4:hover { background: linear-gradient(145deg, #122f51, #284d76); }
.digital-card:hover .digital-card-copy strong,
.digital-card:hover .digital-card-copy > span,
.digital-card:hover .digital-icon,
.digital-card:hover .digital-arrow { color: #fff; }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid #287cff;
    outline-offset: 3px;
}
.topbar a:focus-visible,
.topbar summary:focus-visible,
.site-footer a:focus-visible,
.approach a:focus-visible {
    outline-color: #ff9b8f;
}

@media (max-width: 960px) {
    .digital-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
    .digital-grid { grid-template-columns: 1fr; }
}

/* Brand rule: green belongs to the official lightning mark only. */
:root {
    --mint: #287cff;
    --mint-bright: #b7a8ff;
}
.topbar::before { background: linear-gradient(90deg, var(--coral), #b7a8ff 52%, #5ca9ff); }
.hero .eyebrow::before { background: #5c8fff; box-shadow: 0 0 13px rgb(92 143 255 / 45%); }
.card:nth-child(4) .card-arrow { color: #287cff; }

/* Compact transition between the hero and repair cards. */
.hero-bottom { background: #fff; }
.hero-strip { min-height: 54px; background: #fff; }
.services { padding-top: 48px; }

@media (max-width: 760px) {
    .hero-strip { min-height: 0; padding-top: 10px; padding-bottom: 10px; }
    .services { padding-top: 42px; }
}

/* Stronger section rhythm and visual separation. */
.services,
.digital-offer,
.approach,
.story,
.contact,
.site-footer {
    position: relative;
    border-top: 1px solid #d7e1ee;
}
.services::before,
.digital-offer::before,
.approach::before,
.story::before,
.contact::before {
    position: absolute;
    z-index: 2;
    top: -1px;
    left: 50%;
    width: min(180px, 28vw);
    height: 4px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, #5ca9ff, #a996ff 54%, var(--coral));
    content: "";
    transform: translateX(-50%);
}
.services { background: linear-gradient(180deg, #fff 0%, #f8fbff 100%); }
.digital-offer {
    border-top-color: #ccd8ee;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 70%), inset 0 -1px 0 #d8e1ef;
}
.approach { border-top-color: #294969; box-shadow: inset 0 1px 0 rgb(255 255 255 / 8%); }
.story { background: linear-gradient(180deg, #f8fbff 0%, #fff 100%); }
.story-grid { border: 1px solid #dce4f0; }
.contact { border-top-color: #d8e1ef; }
.contact-panel { border-color: rgb(167 150 255 / 32%); }
.site-footer { border-top-color: rgb(255 255 255 / 14%); }
.section-head,
.digital-offer-heading,
.approach-copy {
    position: relative;
}
.section-head::after,
.digital-offer-heading::after {
    position: absolute;
    right: 0;
    bottom: -18px;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, #cdd9e9, transparent 82%);
    content: "";
}
.cards,
.digital-grid { margin-top: 48px; }

@media (max-width: 620px) {
    .services::before,
    .digital-offer::before,
    .approach::before,
    .story::before,
    .contact::before { width: 108px; }
    .cards,
    .digital-grid { margin-top: 38px; }
}

/* Comfortable pointer and touch targets for secondary navigation. */
.under-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
}
.footer-column a {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
}
