/* Fox Offices — feuille de style du site vitrine.
   Palette et polices reprises du site d'origine. */

/* Polices hébergées ici plutôt que chez Google : une requête bloquante de
   moins, aucune connexion tierce, aucune IP visiteur envoyée. */

@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/poppins-400-latin.woff2') format('woff2');
  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;
}

@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/poppins-400-latin-ext.woff2') format('woff2');
  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: Poppins;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/poppins-500-latin.woff2') format('woff2');
  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;
}

@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/poppins-500-latin-ext.woff2') format('woff2');
  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: Poppins;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/poppins-600-latin.woff2') format('woff2');
  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;
}

@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/poppins-600-latin-ext.woff2') format('woff2');
  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: Urbanist;
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/urbanist-var-latin.woff2') format('woff2');
  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;
}

@font-face {
  font-family: Urbanist;
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/urbanist-var-latin-ext.woff2') format('woff2');
  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;
}

:root {
  --ink: #182300;          /* vert presque noir */
  --green: #103707;        /* vert foncé */
  --accent: #ffa200;       /* orange, sur fond sombre uniquement */
  --accent-text: #945e00;  /* même teinte, lisible sur fond clair (AA) */
  --light: #f7f7f7;
  --white: #fff;
  --text: #24301a;
  --muted: #63705a;
  --line: #e2e5dd;
  --wrap: 1180px;
  --pad: 20px;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(24, 35, 0, .10);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font: 400 17px/1.65 Urbanist, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: Poppins, "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  line-height: 1.18;
  margin: 0 0 .5em;
  color: var(--ink);
  letter-spacing: -.01em;
}

p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--accent);
  color: var(--ink); padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 0; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- boutons ---------- */

.btn {
  display: inline-block; padding: 13px 26px; border: 0; border-radius: var(--radius);
  font: 500 15px/1 Poppins, sans-serif; letter-spacing: .02em; text-decoration: none;
  cursor: pointer; transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: #ffb534; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--green); }

/* ---------- en-tête ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); color: var(--white);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 72px;
}
.brand { display: flex; align-items: center; }
.brand-logo { width: 74px; height: auto; aspect-ratio: 372 / 323; }

.burger {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 9px; background: none; border: 0;
  cursor: pointer;
}
.burger span {
  display: block; height: 2px; background: var(--white);
  transition: transform .2s ease, opacity .2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav { display: none; }
.site-nav.open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--ink); padding: 8px var(--pad) 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: 12px 0; text-decoration: none; color: var(--white);
  font: 500 16px/1.3 Poppins, sans-serif;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.site-nav a[aria-current="page"] { color: var(--accent); }

/* sous-menu « Espaces de travail » */
.sub-toggle {
  display: flex !important; align-items: center; gap: 8px; width: 100%;
  padding: 12px 0; background: none; border: 0; cursor: pointer;
  color: var(--white); font: 500 16px/1.3 Poppins, sans-serif; text-align: left;
  text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.sub-toggle.is-current { color: var(--accent); }
.chev {
  width: 8px; height: 8px; border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .18s ease;
}
.sub-toggle[aria-expanded="true"] .chev { transform: rotate(-135deg) translate(-2px, -2px); }
.sub { list-style: none; margin: 0; padding: 0 0 0 16px; display: none; }
.sub-toggle[aria-expanded="true"] + .sub { display: block; }
.sub a { font-size: 15px; opacity: .85; }
.nav-cta { margin-top: 16px; text-align: center; }

/* sélecteur de langue */
.langues { margin-top: 14px; }
.langues ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.langues a {
  display: block; padding: 6px 10px; border: 0; border-radius: var(--radius);
  font: 500 13px/1 Poppins, sans-serif; letter-spacing: .02em;
  color: rgba(255, 255, 255, .7); text-decoration: none;
}
.langues a:hover { color: var(--white); background: rgba(255, 255, 255, .08); }
.langues a[aria-current="true"] { color: var(--ink); background: var(--accent); }
.site-nav .nav-cta { border: 0; color: var(--ink); }

@media (min-width: 1040px) {
  .burger { display: none; }
  .site-nav { display: flex !important; align-items: center; gap: 22px;
              position: static; padding: 0; background: none; border: 0; }
  .site-nav ul { display: flex; gap: 20px; }
  .site-nav a { padding: 6px 0; border: 0; font-size: 14.5px; opacity: .9; }
  .site-nav a:hover { opacity: 1; color: var(--accent); }

  .has-sub { position: relative; }
  .sub-toggle {
    width: auto; padding: 6px 0; border: 0; font-size: 14.5px; opacity: .9;
  }
  .site-nav .sub-toggle { border-bottom: 0; }
  .sub-toggle:hover { opacity: 1; color: var(--accent); }
  /* .site-nav ul est en flex : il faut viser .sub plus précisément,
     sinon le sous-menu s'affiche en ligne et reste ouvert. */
  .site-nav ul.sub {
    display: none; position: absolute; top: 100%; left: -16px;
    min-width: 210px; padding: 8px 0; background: var(--ink);
    border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
  }
  .sub a { display: block; padding: 9px 18px; font-size: 14.5px; }
  .sub a:hover { background: rgba(255, 255, 255, .06); }
  /* au survol comme au clavier */
  .has-sub:hover ul.sub, .has-sub:focus-within ul.sub { display: block; }
  .nav-cta { margin: 0; padding: 11px 20px !important; opacity: 1 !important; }
  .langues { margin: 0; padding-left: 4px; border-left: 1px solid rgba(255, 255, 255, .18); }
  .langues a { padding: 5px 8px; font-size: 12.5px; opacity: 1; }
}

/* ---------- hero ---------- */

.hero { position: relative; display: grid; isolation: isolate; }
.hero-media, .hero-inner { grid-area: 1 / 1; }
.hero-media { position: relative; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
/* Voile sombre : un dégradé vertical pour l'ensemble, plus un renfort du côté
   du texte, pour que le titre reste lisible sur les photos très claires. */
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(24, 35, 0, .38) 0%, rgba(24, 35, 0, .66) 100%),
    linear-gradient(95deg, rgba(24, 35, 0, .62) 0%, rgba(24, 35, 0, .30) 45%,
                    rgba(24, 35, 0, 0) 78%);
}
.hero { min-height: 64vh; }
.hero-media { min-height: 64vh; }
.hero-inner {
  position: relative; z-index: 1; align-self: center;
  padding-top: 56px; padding-bottom: 56px; color: var(--white);
  max-width: 900px;
}
.hero-kicker {
  font: 500 12px/1 Poppins, sans-serif; letter-spacing: .28em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 18px;
}
.hero h1 { color: var(--white); font-size: clamp(30px, 6.2vw, 55px); margin-bottom: .45em; }
.hero-lines p { font-size: clamp(17px, 2.4vw, 20px); color: rgba(255, 255, 255, .92);
                max-width: 44ch; margin-bottom: .35em; }
.hero-cta { margin-top: 26px; }

@media (min-width: 800px) {
  .hero, .hero-media { min-height: 76vh; }
}

/* ---------- sections ---------- */

.section { padding: 64px 0; }
@media (min-width: 800px) { .section { padding: 96px 0; } }

.section-lead { font-size: clamp(25px, 4vw, 38px); max-width: 22ch; }
.section-sublead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 60ch; }
.section-kicker {
  font: 500 12px/1 Poppins, sans-serif; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent-text); margin: 40px 0 0;
}

/* piliers */
.pillars { background: var(--light); }
.grid-4 { display: grid; gap: 14px; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.pillar {
  display: block; background: var(--white); padding: 30px 26px 26px;
  border-radius: var(--radius); text-decoration: none; position: relative;
  border: 1px solid var(--line); transition: box-shadow .18s ease, transform .18s ease;
}
.pillar:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.pillar h2 { font-size: 20px; margin-bottom: .55em; }
.pillar p { color: var(--muted); font-size: 16px; margin: 0 0 28px; }
.pillar-arrow { position: absolute; left: 26px; bottom: 22px; color: var(--accent-text); font-size: 20px; }

/* galerie */
.gallery { padding-top: 0; }
.gallery-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%;
  gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 var(--pad) 12px; -webkit-overflow-scrolling: touch;
}
@media (min-width: 700px) { .gallery-rail { grid-auto-columns: 320px; } }
.shot { margin: 0; scroll-snap-align: start; }
.shot img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.shot figcaption {
  font: 500 14px/1.4 Poppins, sans-serif; color: var(--ink); padding-top: 12px;
}

/* blocs de contenu */
.feature-grid { display: grid; gap: 34px; margin-top: 34px; }
@media (min-width: 860px) { .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 42px 56px; } }
.feature h3 { font-size: 20px; color: var(--green); }
.feature p { color: #40503a; }
.feature-outro { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); max-width: 62ch; }

/* offres */
.offers { background: var(--light); }
.offers-head { max-width: 62ch; margin-bottom: 40px; }
.offers-head h2 { font-size: clamp(25px, 4vw, 38px); }
.offers-head .btn { margin-top: 12px; }
.offer-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .offer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .offer-grid { grid-template-columns: repeat(3, 1fr); } }
.offer {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px;
}
.offer h3 { font-size: 19px; margin-bottom: .3em; }
.offer-meta {
  font: 500 13px/1.4 Poppins, sans-serif; color: var(--accent-text);
  letter-spacing: .04em; margin-bottom: 1.1em;
}
.offer p { font-size: 16px; color: #40503a; }
.offer p:last-child { margin-bottom: 0; }

/* duo rooftop */
.duo .wrap { display: grid; gap: 30px; }
@media (min-width: 900px) { .duo .wrap { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; } }
.duo-text h2 { font-size: clamp(25px, 4vw, 36px); }
.duo-text p { color: var(--muted); max-width: 48ch; }
.duo-media { display: grid; gap: 14px; }
@media (min-width: 560px) { .duo-media { grid-template-columns: 1fr 1fr; } }
.duo-media img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* appel à l'action */
.cta { background: var(--ink); color: var(--white); text-align: center; }
.cta h2 { color: var(--white); font-size: clamp(25px, 4vw, 38px); max-width: 20ch; margin-inline: auto; }
.cta p { color: rgba(255, 255, 255, .8); max-width: 58ch; margin: 0 auto 28px; }

/* texte long */
.prose .wrap { max-width: 780px; }
.prose h2 { font-size: 28px; margin-top: 1.6em; }
.prose h3 { font-size: 19px; margin-top: 1.5em; color: var(--green); }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: .5em; }

/* ---------- contact ---------- */

.contact-grid { display: grid; gap: 44px; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 1fr 1.15fr; gap: 64px; } }
.contact-intro .lead { font-size: 19px; }
.contact-facts { list-style: none; margin: 32px 0 0; padding: 0; }
.contact-facts li { padding: 14px 0; border-top: 1px solid var(--line); }
.contact-facts span {
  display: block; font: 500 11px/1 Poppins, sans-serif; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent-text); margin-bottom: 6px;
}

.contact-form { background: var(--light); padding: 28px 22px; border-radius: var(--radius); }
@media (min-width: 620px) { .contact-form { padding: 36px 34px; } }
.field { margin: 0 0 18px; }
.field label, .field legend {
  display: block; font: 500 13px/1.4 Poppins, sans-serif; color: var(--ink);
  margin-bottom: 7px; padding: 0;
}
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  font: 400 16px/1.4 Urbanist, sans-serif; background: var(--white); color: var(--text);
}
.field input[type="file"] { padding: 10px 12px; font-size: 15px; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--accent); outline: none;
}
fieldset.field { border: 0; margin: 0 0 18px; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.checks { display: grid; gap: 8px; }
@media (min-width: 560px) { .checks { grid-template-columns: 1fr 1fr; } }
.check { display: flex; align-items: center; gap: 9px; font-size: 16px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
/* piège à robots : hors écran, jamais rempli par un humain */
.pot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin: 24px 0 0; }
.form-status { margin: 14px 0 0; font-size: 15px; min-height: 1.4em; }
.form-status.ok { color: var(--green); }
.form-status.ko { color: #a33; }

.map-frame {
  margin-top: 56px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); aspect-ratio: 16 / 9; max-height: 440px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-legend { font-size: 15px; color: var(--muted); margin-top: 12px; }

/* ---------- pied de page ---------- */

.site-footer { background: var(--ink); color: rgba(255, 255, 255, .82); padding: 56px 0 26px; }
.site-footer a { color: rgba(255, 255, 255, .82); }
.site-footer a:hover { color: var(--accent); }
.footer-grid { display: grid; gap: 34px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 40px; } }
.footer-logo { width: 110px; height: auto; aspect-ratio: 372 / 323; }
.footer-title {
  font: 500 11px/1 Poppins, sans-serif; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 14px;
}
.site-footer p { font-size: 16px; margin-bottom: .6em; }
.muted { color: rgba(255, 255, 255, .5); font-size: 14px !important; }
.partners { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.partner { display: block; }
.partner-logo { width: 84px; height: auto; opacity: .8; }
.partner:hover .partner-logo { opacity: 1; }
.footer-bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between;
}
.footer-bottom p { font-size: 14px; margin: 0; color: rgba(255, 255, 255, .55); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
