@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --cream: #fff8f0;
    --orange: #ff4d2e;
    --black: #171717;
    --white: #fffdf9;
    --line: rgba(23, 23, 23, .2);
    --max: 1440px;
    --pad: clamp(1.25rem, 4vw, 4.5rem);
    --display: "Arial Black", "Helvetica Neue", Arial, sans-serif;
    --body: "Inter", "Aptos", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--black); font-family: var(--body); font-size: 1rem; line-height: 1.55; }
main p { text-align: justify; text-justify: inter-word; }
.page-hero > p, .offer-pitch, .portfolio-section-head p, .form-intro p, .experience-statement, .video-links, .footer-contact a { text-align: left; }
body.modal-open { overflow: hidden; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img, iframe { max-width: 100%; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 200; padding: .8rem 1rem; background: var(--white); color: var(--black); font-weight: 800; }
.skip-link:focus { top: 1rem; }

.site-header { position: relative; z-index: 50; max-width: var(--max); margin: 0 auto; padding: 1.2rem var(--pad); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; flex-direction: column; text-decoration: none; font: 900 1.12rem/.76 var(--display); letter-spacing: -.08em; }
.wordmark span:last-child { margin-left: .65rem; }
.wordmark i { color: var(--orange); font-style: normal; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 3rem); }
.site-nav > a:not(.button) { position: relative; padding: .7rem 0; text-decoration: none; font-weight: 750; }
.site-nav > a:not(.button)::after { content: ""; position: absolute; right: 0; bottom: .3rem; left: 0; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.site-nav > a:hover::after, .site-nav > a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; border: 0; background: transparent; font-weight: 900; text-transform: uppercase; }

.section-shell { max-width: var(--max); margin: 0 auto; padding: clamp(5rem, 10vw, 9rem) var(--pad); }
.dark-section { max-width: none; padding-right: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); padding-left: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); background: var(--black); color: var(--cream); }
.eyebrow, .section-index { margin: 0 0 2rem; color: var(--orange); font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--display); font-weight: 900; letter-spacing: -.075em; line-height: .88; text-transform: uppercase; }
h1 em, h2 span { color: var(--orange); font-style: normal; }

.button { display: inline-flex; min-height: 3.4rem; align-items: center; justify-content: center; padding: .8rem 1.4rem; border: 2px solid var(--orange); background: var(--orange); color: var(--black); text-decoration: none; font-weight: 900; text-transform: uppercase; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translate(-3px, -3px); box-shadow: 4px 4px 0 var(--black); }
.button-small { min-height: 2.65rem; padding: .55rem 1rem; font-size: .85rem; }
.button-outline { background: transparent; }
.button-light { border-color: var(--cream); background: var(--cream); }
.dark-section .button:hover, .dark-form .button:hover { box-shadow: 4px 4px 0 var(--orange); }
.text-link { font-weight: 900; text-underline-offset: .4rem; text-transform: uppercase; }

.hero { min-height: calc(100vh - 83px); display: flex; flex-direction: column; justify-content: center; padding-top: 4rem; padding-bottom: 3rem; }
.hero h1 { max-width: 1120px; margin: 0; font-size: clamp(4rem, 11.5vw, 11rem); }
.hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-top: clamp(3rem, 8vh, 7rem); }
.hero-bottom p { margin: 0; font-size: clamp(1.1rem, 2vw, 1.55rem); }
.round-link { display: grid; width: 4.4rem; height: 4.4rem; place-items: center; border: 2px solid var(--black); border-radius: 50%; font-size: 1.8rem; text-decoration: none; transition: background .2s, color .2s; }
.round-link:hover { background: var(--black); color: var(--cream); }

.manifesto-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: clamp(3rem, 9vw, 9rem); }
.manifesto h2 { font-size: clamp(3rem, 7vw, 7rem); }
.manifesto-grid > div { align-self: end; font-size: clamp(1.05rem, 1.4vw, 1.3rem); }
.manifesto-grid > div p:last-child { margin-bottom: 0; }

.services h2, .final-cta h2, .mini-cta h2 { font-size: clamp(3.2rem, 8vw, 8rem); }
.section-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(3rem, 7vw, 6rem); }
.section-heading-row h2 { margin-bottom: 0; }

/* Accueil : les 4 types de contenus, chacun avec sa vidéo de référence. */
.offer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.2rem, 2.4vw, 2.5rem); }
.offer-card { display: flex; min-width: 0; flex-direction: column; padding-top: 1.4rem; border-top: 2px solid var(--black); }
.offer-rank { margin: 0 0 .6rem; color: var(--orange); font-weight: 900; }
.offer-card h3 { margin: 0 0 .7rem; font-family: var(--display); font-size: clamp(1.15rem, 1.75vw, 1.7rem); line-height: 1.02; text-transform: uppercase; }
.offer-pitch { flex: 1; margin: 0 0 1.4rem; font-size: .95rem; }

/* Portfolio : quatre sections titrées. */
.portfolio-section { padding-top: 0; }
.portfolio-section:first-of-type { padding-top: clamp(1rem, 3vw, 2rem); }
.portfolio-section-head { margin-bottom: clamp(2rem, 4vw, 3rem); padding-top: 1.4rem; border-top: 2px solid var(--black); }
.portfolio-section-head h2 { margin: 0 0 .6rem; font-size: clamp(1.9rem, 4.4vw, 3.6rem); }
.portfolio-section-head p { max-width: 60ch; margin: 0; }

.portfolio-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.2rem, 2.2vw, 2rem); }
.portfolio-card { min-width: 0; }
.video-preview { position: relative; display: block; width: 100%; max-width: 100%; aspect-ratio: 9/16; overflow: hidden; border: 0; padding: 0; background: var(--black); color: var(--cream); cursor: pointer; isolation: isolate; }
.video-preview img { display: block; width: 100%; max-width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.video-preview:hover img, .video-preview:focus-visible img { transform: scale(1.045); }
.play { position: absolute; top: 50%; left: 50%; z-index: 2; display: grid; width: 4.25rem; height: 4.25rem; place-items: center; border-radius: 50%; background: var(--cream); color: var(--black); transform: translate(-50%, -50%); transition: transform .25s ease; }
.video-preview:hover .play, .video-preview:focus-visible .play { transform: translate(-50%, -50%) scale(1.08); }

.video-links { display: flex; align-items: center; gap: .5rem; margin-top: .8rem; flex-wrap: wrap; }
.social-link { display: inline-flex; align-items: center; gap: .25rem; padding: .28rem .55rem; border: 1px solid currentColor; border-radius: 999px; text-decoration: none; font-size: .8rem; font-weight: 700; }
.social-link.instagram { color: var(--orange); }
.social-link.facebook { font-family: Arial, sans-serif; }
/* Nombre de vues, saisi a la main, affiche dans le bouton du reseau. */
.link-views { margin-left: .1rem; padding-left: .4rem; border-left: 1px solid currentColor; font-weight: 900; white-space: nowrap; }
.dark-section .social-link { border-color: rgba(255, 248, 240, .55); }

/* Accueil : le film d'enseigne, en 16/9 pleine largeur. */
.showreel-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.showreel-intro h2 { margin: 0; font-size: clamp(2.6rem, 5.5vw, 5rem); }
.showreel-intro p { max-width: 52ch; margin: 0; text-align: left; font-size: clamp(1rem, 1.25vw, 1.15rem); }
.showreel-preview { aspect-ratio: 16/9; }
.showreel-preview .play { width: 5.5rem; height: 5.5rem; font-size: 1.35rem; }

.proof-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: end; }
.proof h2 { margin: 0; font-size: clamp(2.8rem, 6vw, 5.5rem); }
.experience-statement { margin: 0; font-size: clamp(1.2rem, 2vw, 1.75rem); line-height: 1.35; }

.final-cta { text-align: center; }
.final-cta > p:not(.section-index) { text-align: center; }
.final-cta h2 { margin-bottom: 3rem; }
.final-cta > p:not(.section-index) { max-width: 650px; margin: 0 auto 2.5rem; font-size: 1.25rem; }
.cta-row { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

.page-hero { padding-bottom: clamp(4rem, 8vw, 7rem); }
.page-hero h1 { margin-bottom: 2rem; font-size: clamp(4rem, 10vw, 10rem); }
.page-hero > p:last-child { max-width: 650px; font-size: clamp(1.15rem, 2vw, 1.45rem); }
.mini-cta { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; }
.mini-cta h2 { margin: 0; }

.contact-hero { padding-bottom: 4rem; }
/* Bandeau d'erreur : collé au formulaire concerné et cible de l'ancre de
   redirection, d'où le scroll-margin qui l'écarte du bord de l'écran. */
/* Proposé uniquement quand le navigateur a imposé un démarrage muet. */
.unmute-button { position: absolute; right: 1.2rem; bottom: 1.2rem; z-index: 5; padding: .6rem 1.1rem;
  border: 0; border-radius: 999px; background: var(--orange); color: var(--white);
  font-weight: 900; cursor: pointer; box-shadow: 0 .4rem 1.2rem rgba(0,0,0,.35); }
.unmute-button:hover { filter: brightness(1.08); }
.video-modal-panel { position: relative; }

.form-alert { margin: 0 0 1.6rem; padding: 1rem 1.2rem; scroll-margin-top: 2rem; }
.form-alert.error { border: 2px solid var(--orange); border-left-width: .5rem; border-radius: .35rem; background: #fff; color: var(--black); box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.12); }
.form-alert-title { margin: 0; color: var(--orange); font-weight: 900; text-transform: uppercase; letter-spacing: .02em; }
.form-alert ul { margin: .5rem 0 0; padding-left: 1.1rem; font-weight: 650; }
.form-alert li + li { margin-top: .25rem; }
.form-alert:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.form-section { display: grid; grid-template-columns: .65fr 1fr; gap: clamp(3rem, 9vw, 9rem); padding-top: 4rem; }
.form-intro h2 { font-size: clamp(3rem, 6vw, 6rem); }
.contact-form { display: grid; gap: 1.3rem; }
.contact-form label { display: grid; gap: .5rem; font-weight: 850; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; border: 0; border-bottom: 2px solid var(--black); border-radius: 0; background: rgba(255,255,255,.42); color: inherit; padding: .9rem .75rem; }
.contact-form textarea { border: 2px solid var(--black); resize: vertical; }
.contact-form .check-label { display: flex; align-items: flex-start; gap: .7rem; font-weight: 500; }
.check-label input { flex: 0 0 1.2rem; width: 1.2rem; margin-top: .25rem; }
.contact-form .button { justify-self: start; }
.dark-form input, .dark-form textarea, .dark-form select { border-color: var(--cream); background: rgba(255,255,255,.06); color: var(--cream); color-scheme: dark; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(1px, 1px, 1px, 1px) !important; }

.thanks { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; }
.thanks h1 { max-width: 1000px; font-size: clamp(4rem, 10vw, 9rem); }
.thanks p { max-width: 650px; font-size: 1.25rem; }
.thanks .button { align-self: flex-start; margin-top: 1rem; }
.legal { max-width: 980px; }
.legal h1 { font-size: clamp(3.5rem, 8vw, 7rem); }
.legal h2 { margin-top: 3rem; font-size: 1.8rem; letter-spacing: -.04em; }
.legal-notice { padding: 1.2rem; border: 2px solid var(--orange); background: rgba(255,77,46,.1); font-weight: 750; }

.site-footer { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; padding: 4rem var(--pad) 2rem; border-top: 1px solid var(--line); }
.wordmark-footer { margin-bottom: 1rem; font-size: 1.8rem; }
.footer-contact, .site-footer nav { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.footer-contact a { font-weight: 800; }
.site-footer nav a { text-underline-offset: .25rem; }
.copyright { grid-column: 1/-1; margin: 2rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .85rem; }

.video-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: clamp(.75rem, 3vh, 2rem); }
.video-modal[hidden] { display: none; }
.video-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.82); }
.video-modal-panel { position: relative; display: flex; width: min(92vw, 500px); max-width: 100%; max-height: 94svh; flex-direction: column; margin: 0; overflow: hidden; background: var(--black); color: var(--cream); }
.video-modal-head { display: flex; align-items: center; justify-content: space-between; padding: .8rem 1rem; }
.video-modal-head h2 { margin: 0; font-size: 1rem; letter-spacing: 0; }
.video-modal-head button { border: 0; background: var(--orange); padding: .5rem .8rem; font-weight: 900; cursor: pointer; }
.video-modal-panel.landscape { width: min(94vw, 1100px); }
.video-frame { width: 100%; min-width: 0; min-height: 0; aspect-ratio: 9/16; overflow: hidden; background: #000; }
.video-frame.landscape { aspect-ratio: 16/9; }
.video-frame video { display: block; width: 100%; max-width: 100%; height: 100%; max-height: calc(94svh - 3.8rem); object-fit: contain; object-position: center; background: #000; }

@media (max-width: 950px) {
    .portfolio-grid, .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .manifesto-grid, .form-section, .proof-grid, .showreel-intro { grid-template-columns: 1fr; }
    .showreel-intro { align-items: start; gap: 1.5rem; }
    .proof-grid { align-items: start; gap: 2rem; }
    .mini-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 680px) {
    :root { --pad: 1.25rem; }
    .site-header { min-height: 72px; }
    .nav-toggle { display: block; }
    .site-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; padding: 1rem var(--pad) 1.5rem; background: var(--cream); border-bottom: 2px solid var(--black); }
    .site-nav.open { display: flex; flex-direction: column; }
    .hero { min-height: calc(100svh - 72px); }
    .hero h1 { font-size: clamp(3.8rem, 19vw, 6.5rem); }
    .hero-bottom { align-items: flex-start; }
    .round-link { flex: 0 0 3.5rem; width: 3.5rem; height: 3.5rem; }
    .services h2, .final-cta h2, .mini-cta h2 { font-size: clamp(2.6rem, 13vw, 5rem); }
    .page-hero h1 { font-size: clamp(2.6rem, 12.5vw, 5rem); }
    .manifesto h2 { font-size: clamp(2.4rem, 12vw, 4.5rem); }
    .proof h2, .form-intro h2 { font-size: clamp(2.2rem, 11.5vw, 4rem); }
    .portfolio-section-head h2 { font-size: clamp(1.5rem, 7vw, 2.4rem); }
    .thanks h1, .legal h1 { font-size: clamp(2.6rem, 12.5vw, 5rem); }
    .portfolio-grid, .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
    .offer-card h3 { font-size: 1.05rem; }
    .offer-pitch { font-size: .85rem; }
    .video-links { gap: .35rem; }
    .social-link span { display: none; }
    .link-views { padding-left: .3rem; }
    .play { width: 3.2rem; height: 3.2rem; }
    .showreel-intro h2 { font-size: clamp(2.2rem, 11vw, 4rem); }
    .showreel-preview .play { width: 4rem; height: 4rem; font-size: 1.1rem; }
    .section-heading-row { align-items: flex-start; flex-direction: column; }
    .field-row { grid-template-columns: 1fr; }
    .site-footer { grid-template-columns: 1fr; }
    .copyright { grid-column: 1; }
    .video-modal { padding: 0; }
    .video-modal-panel { width: 100%; height: 100svh; max-height: 100svh; margin: 0; }
    .video-frame { flex: 1; height: auto; aspect-ratio: auto; }
    .video-frame video { max-height: calc(100svh - 3.8rem); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
