/* ============================================================
   GOES MAROC — Feuille de style principale
   Palette : orange #FF6B00 · ink #111 · gris clair #F2F2F2 · blanc
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Saira+Condensed:ital,wght@0,600;0,700;0,800;1,800&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --orange:        #FF6B00;
    --orange-dark:   #e85f00;
    --ink:           #111111;
    --ink-soft:      #2a2a2a;
    --gray-bg:       #f2f2f2;
    --gray-line:     #e2e2e2;
    --gray-text:     #888888;
    --white:         #ffffff;

    --font-display:  'Saira Condensed', 'Arial Narrow', sans-serif;
    --font-body:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --container:     1320px;
    --nav-h:         72px;
    --radius:        6px;
    --ease:          cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    /* Scroll vertical global toujours présent */
    overflow-y: scroll;
    min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: transform .25s var(--ease), background .25s var(--ease);
}
.btn-orange { background: var(--orange); color: var(--white); }
.btn-orange:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* lien fléché texte */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--ink);
    transition: gap .25s var(--ease);
}
.link-arrow .arrow { color: var(--orange); transition: transform .25s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
/* État transparent (sur hero sombre/orange) */
.site-header[data-theme="transparent"] { background: transparent; }
.site-header[data-theme="transparent"] .nav-link,
.site-header[data-theme="transparent"] .logo-text { color: var(--white); }
/* État solide (au scroll, ou pages internes claires) */
.site-header[data-theme="solid"],
.site-header.scrolled {
    background: var(--white);
    box-shadow: 0 1px 0 var(--gray-line);
}
.site-header[data-theme="solid"] .nav-link,
.site-header.scrolled .nav-link,
.site-header[data-theme="solid"] .logo-text,
.site-header.scrolled .logo-text { color: var(--ink); }

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Logo */
.logo { display: flex; align-items: center; }
.logo-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 30px;
    letter-spacing: 1px;
    color: var(--white);
    line-height: 1;
}
.logo-text .accent { color: var(--orange); }

/* Menu principal */
.main-nav > ul { display: flex; gap: 38px; align-items: center; }
.nav-item { position: relative; }
.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    height: var(--nav-h);
    font-size: 15px;
    font-weight: 500;
    color: var(--white);
    transition: color .2s;
}
.nav-link:hover { color: var(--orange); }
.nav-link .chev {
    width: 9px; height: 9px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .25s var(--ease);
}
.nav-item:hover .chev { transform: rotate(225deg) translateY(-2px); }

/* Méga-menu déroulant */
.mega {
    position: fixed;
    left: 0; right: 0;
    top: var(--nav-h);
    background: var(--white);
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    border-top: 1px solid var(--gray-line);
}
.nav-item:hover .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 40px 24px 48px;
    display: grid;
    grid-template-columns: 220px 1fr 260px;
    gap: 40px;
}
.mega-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    border-bottom: 2px solid var(--ink);
    padding-bottom: 8px;
    display: inline-block;
}
.mega-serie-label {
    display: flex; align-items: center; gap: 8px;
    font-weight: 700; font-size: 15px; margin-bottom: 22px;
}
.mega-serie-label::before {
    content: ''; width: 4px; height: 16px; background: var(--orange);
}
.mega-models { display: flex; gap: 30px; flex-wrap: wrap; }
.mega-model { width: 150px; text-align: center; }
.mega-model img { height: 90px; object-fit: contain; margin: 0 auto 10px; }
.mega-model span { font-size: 13px; color: var(--ink-soft); }
.mega-model:hover img { transform: scale(1.05); transition: transform .3s var(--ease); }
.mega-links { display: flex; flex-direction: column; gap: 4px; }
.mega-link {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-line);
    font-size: 14px;
    transition: padding-left .2s var(--ease);
}
.mega-link:hover { padding-left: 6px; }
.mega-link .ico {
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--orange); color: #fff;
    display: grid; place-items: center; font-size: 13px; flex: none;
}
.mega-link .ext { margin-left: auto; color: var(--gray-text); }

/* Recherche */
.nav-search {
    display: flex; align-items: center; gap: 8px;
    border: 1px solid currentColor;
    border-radius: 999px;
    padding: 7px 14px;
    color: inherit;
    opacity: .85;
}
.site-header[data-theme="transparent"] .nav-search { color: var(--white); }
.site-header.scrolled .nav-search,
.site-header[data-theme="solid"] .nav-search { color: var(--ink); }
.nav-search input {
    background: transparent; border: none; outline: none;
    color: inherit; font-size: 13px; width: 110px;
}
.nav-search input::placeholder { color: currentColor; opacity: .6; }

/* Burger mobile */
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.burger span { width: 24px; height: 2px; background: currentColor; transition: .3s; }

/* ============================================================
   HERO HOME (image + masque texte GOES)
   ============================================================ */
.hero-home {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--orange);
}
.hero-home video,
.hero-home .hero-bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
/* voile orange par-dessus le média */
.hero-home::after {
    content: '';
    position: absolute; inset: 0;
    background: rgba(255,107,0,.55);
    mix-blend-mode: multiply;
}
/* Mot GOES géant en masque */
.hero-mask {
    position: relative;
    z-index: 2;
    font-family: var(--font-display);
    font-weight: 800;
    font-style: italic;
    font-size: clamp(120px, 28vw, 520px);
    line-height: .8;
    letter-spacing: -.02em;
    color: var(--ink);
    /* le texte révèle le média à travers via blend */
    mix-blend-mode: multiply;
    user-select: none;
}

/* ============================================================
   SECTION CAROUSEL PRODUITS (home)
   ============================================================ */
.showcase {
    background: var(--gray-bg);
    padding: 80px 0 100px;
}
.showcase-tabs {
    display: flex; gap: 30px;
    border-bottom: 1px solid var(--gray-line);
    max-width: var(--container);
    margin: 0 auto 50px;
    padding: 0 24px;
}
.showcase-tab {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: .5px;
    padding-bottom: 14px;
    color: var(--gray-text);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    transition: color .2s;
}
.showcase-tab.active { color: var(--ink); border-bottom-color: var(--orange); }

.showcase-head { text-align: center; margin-bottom: 10px; }
.showcase-head h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(30px, 4vw, 50px);
    letter-spacing: .5px;
}
.showcase-head p { color: var(--gray-text); font-size: 17px; margin-top: 6px; }

/* zone carousel avec chiffre filigrane */
.carousel {
    position: relative;
    max-width: var(--container);
    margin: 10px auto 0;
    padding: 0 24px;
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-ghost {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -54%);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(220px, 36vw, 480px);
    color: #fff;
    line-height: 1;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    text-shadow: 0 2px 40px rgba(0,0,0,.04);
}
.carousel-slide {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}
.carousel-slide img {
    max-height: 420px;
    margin: 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 30px 30px rgba(0,0,0,.18));
}
.carousel-arrow {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    border: none;
    display: grid; place-items: center;
    font-size: 22px;
    cursor: pointer;
    z-index: 3;
    transition: background .2s, transform .2s var(--ease);
}
.carousel-arrow:hover { background: var(--orange-dark); transform: translateY(-50%) scale(1.08); }
.carousel-arrow.prev { left: 0; }
.carousel-arrow.next { right: 0; }

.carousel-foot {
    text-align: center;
    margin-top: 16px;
}
.variant-tabs {
    display: flex; justify-content: center; gap: 0;
    max-width: 640px; margin: 24px auto 0;
    border-top: 1px solid var(--gray-line);
}
.variant-tab {
    flex: 1;
    padding: 18px 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    color: var(--gray-text);
    cursor: pointer;
    border-top: 2px solid transparent;
    margin-top: -1px;
    transition: color .2s;
}
.variant-tab.active { color: var(--ink); border-top-color: var(--ink); }

/* ============================================================
   SECTION NEWS (home)
   ============================================================ */
.news-feature {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    background: var(--ink);
}
.news-feature .news-bg {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: .9;
}
.news-feature::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
}
.news-feature .container { position: relative; z-index: 2; }
.news-feature h2 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: clamp(28px, 3.4vw, 42px);
    line-height: 1.15;
    max-width: 520px;
    margin-bottom: 28px;
}

/* ============================================================
   PAGE MODÈLE — Hero
   ============================================================ */
.model-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    overflow: hidden;
    background: var(--ink);
}
.model-hero .model-bg {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.model-hero::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.05) 40%, rgba(0,0,0,.55));
}
.model-hero .container { position: relative; z-index: 2; width: 100%; }
.model-hero-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-style: italic;
    line-height: .85;
}
.model-hero-title .serie {
    display: flex; align-items: center; gap: 14px;
    font-size: clamp(28px, 4vw, 56px);
    letter-spacing: 1px;
}
.model-hero-title .serie .stripes {
    width: 60px; height: 26px;
    background: repeating-linear-gradient(115deg, var(--orange) 0 8px, transparent 8px 14px);
}
.model-hero-title .big {
    font-size: clamp(80px, 13vw, 200px);
}
.model-hero-title .big sub {
    font-size: .35em; vertical-align: baseline; bottom: 0;
}

/* bandeau highlights bas du hero */
.hero-highlights {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 30px 60px;
    padding-top: 50px;
}
.hero-highlight .val {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1;
}
.hero-highlight .lbl { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 4px; }

.scroll-hint {
    position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
    z-index: 3; color: #fff; font-size: 12px; text-align: center; opacity: .8;
}
.scroll-hint .mouse {
    width: 22px; height: 34px; border: 2px solid #fff; border-radius: 12px;
    margin: 0 auto 6px; position: relative;
}
.scroll-hint .mouse::after {
    content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
    width: 3px; height: 7px; background: #fff; border-radius: 2px;
    animation: scrolldot 1.6s infinite;
}
@keyframes scrolldot { 0%{opacity:1;top:6px} 70%{opacity:0;top:16px} 100%{opacity:0} }

/* ============================================================
   PAGE MODÈLE — bloc présentation (chiffre filigrane)
   ============================================================ */
.model-intro {
    background: var(--gray-bg);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}
.model-intro .container {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.model-intro h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(40px, 6vw, 80px);
    line-height: .9;
    margin-bottom: 24px;
}
.model-intro p { color: var(--ink-soft); max-width: 460px; }
.model-intro .ghost-num {
    position: absolute;
    right: -2%; top: 50%; transform: translateY(-50%);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(280px, 40vw, 620px);
    color: #fff;
    z-index: 1;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}
.model-intro .photo { position: relative; z-index: 2; }
.model-intro .photo img { filter: drop-shadow(0 30px 30px rgba(0,0,0,.15)); }
.model-intro .meta {
    display: flex; align-items: center; gap: 18px;
    margin-top: 32px; flex-wrap: wrap;
}
.color-swatch {
    width: 30px; height: 30px; border-radius: 50%;
    border: 2px solid var(--ink); display: inline-block;
}
.model-intro .download {
    margin-top: 30px; color: var(--orange); font-weight: 600;
    display: inline-flex; align-items: center; gap: 8px;
}

/* ============================================================
   PAGE MODÈLE — tableau de specs
   ============================================================ */
.specs { padding: 90px 0; }
.specs h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(30px, 4vw, 48px);
    text-align: center;
    margin-bottom: 50px;
}
.spec-group { margin-bottom: 36px; }
.spec-group-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    border-left: 4px solid var(--orange);
    padding-left: 12px;
    margin-bottom: 8px;
}
.spec-row {
    display: grid; grid-template-columns: 1fr 1fr;
    padding: 14px 12px;
    border-bottom: 1px solid var(--gray-line);
}
.spec-row:nth-child(even) { background: var(--gray-bg); }
.spec-row .k { color: var(--gray-text); }
.spec-row .v { font-weight: 600; }

/* ============================================================
   CATALOGUE (liste modèles)
   ============================================================ */
.page-head {
    padding: calc(var(--nav-h) + 60px) 0 40px;
    background: var(--gray-bg);
}
.page-head h1 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(36px, 6vw, 72px);
    line-height: .95;
}
.page-head .crumb { color: var(--gray-text); font-size: 14px; margin-bottom: 10px; }

.catalog { background: var(--gray-bg); padding: 20px 0 90px; }
.catalog-filters {
    display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px;
}
.filter-chip {
    padding: 9px 20px; border-radius: 999px;
    background: #fff; border: 1px solid var(--gray-line);
    font-size: 14px; font-weight: 500; cursor: pointer;
    transition: .2s;
}
.filter-chip.active, .filter-chip:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}
.model-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
    display: flex; flex-direction: column;
}
.model-card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px rgba(0,0,0,.1); }
.model-card .thumb {
    aspect-ratio: 4/3;
    background: var(--gray-bg);
    display: grid; place-items: center;
    overflow: hidden;
}
.model-card .thumb img { max-height: 80%; object-fit: contain; transition: transform .4s var(--ease); }
.model-card:hover .thumb img { transform: scale(1.06); }
.model-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.model-card .serie-tag { font-size: 12px; color: var(--orange); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.model-card h3 { font-family: var(--font-display); font-weight: 800; font-size: 26px; margin: 4px 0 8px; }
.model-card .price { font-weight: 700; margin-top: auto; padding-top: 14px; }
.model-card .price.hidden-price { color: var(--gray-text); font-weight: 500; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--ink);
    color: rgba(255,255,255,.7);
    padding: 70px 0 30px;
    font-size: 14px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-grid h4 {
    color: #fff; font-family: var(--font-display); font-weight: 700;
    font-size: 16px; letter-spacing: 1px; margin-bottom: 18px; text-transform: uppercase;
}
.footer-grid a { display: block; padding: 6px 0; transition: color .2s, padding-left .2s; }
.footer-grid a:hover { color: var(--orange); padding-left: 4px; }
.footer-logo { font-family: var(--font-display); font-weight: 800; font-size: 36px; color: #fff; }
.footer-logo .accent { color: var(--orange); }
.footer-desc { margin: 16px 0; max-width: 320px; }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 24px; flex-wrap: wrap; gap: 12px;
    font-size: 13px; color: rgba(255,255,255,.5);
}
.footer-contact-line { display: flex; align-items: center; gap: 8px; padding: 4px 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
    .mega-inner { grid-template-columns: 1fr; }
    .model-intro .container { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .model-intro .ghost-num { font-size: 320px; opacity: .6; }
}
@media (max-width: 768px) {
    .main-nav { display: none; }
    .nav-search { display: none; }
    .burger { display: flex; }
    .main-nav.open {
        display: block;
        position: fixed; inset: var(--nav-h) 0 0 0;
        background: #fff; padding: 30px 24px; z-index: 999;
        overflow-y: auto;
    }
    .main-nav.open > ul { flex-direction: column; gap: 0; align-items: stretch; }
    .main-nav.open .nav-link { height: auto; padding: 16px 0; color: var(--ink); border-bottom: 1px solid var(--gray-line); }
    .main-nav.open .mega { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; }
    .main-nav.open .mega-inner { padding: 16px 0; }
    .hero-highlights { gap: 18px 30px; }
    .hero-highlight .val { font-size: 24px; }
    .footer-grid { grid-template-columns: 1fr; }
    .spec-row { grid-template-columns: 1fr; gap: 4px; }
    .carousel-arrow { width: 46px; height: 46px; font-size: 18px; }
}

/* Accessibilité : focus visible */
a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 2px;
}
/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
