/* Feuille de styles du site oressgroup.com.
   Mobile d'abord ; points de rupture a 768px et 1024px. Tokens issus du logo. */

:root {
  --color-bg: #0D0B0A;
  --color-surface: #171514;
  --color-border: #2A2725;
  --color-cyan: #00B4F0;
  --color-orange: #FF9F0A;
  --color-pink: #F0179A;
  --color-green: #7ED321;
  --color-text: #FFFFFF;
  --color-text-muted: #A8A29E;
  --font: 'Montserrat', system-ui, sans-serif;
  --radius: 6px;
  --container: 1120px;
  --section-y: 64px;
  --header-h: 68px;
}

@media (min-width: 768px) {
  :root { --section-y: 96px; }
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font: 400 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--color-cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #5CD3FA; }
h1, h2, h3 { margin: 0; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--color-cyan); outline-offset: 3px; border-radius: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--color-cyan); color: var(--color-bg); padding: 10px 16px;
  border-radius: var(--radius); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--color-bg); }

/* En-tete */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 11, 10, 0.94);
  border-bottom: 1px solid transparent;
  transition: background-color .2s ease, border-color .2s ease;
}
.site-header.is-scrolled {
  background: rgba(13, 11, 10, 0.78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--color-border);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--color-text); text-decoration: none; }
.brand:hover { color: var(--color-text); }
.brand img { width: 40px; height: 40px; }
.brand span { font-weight: 500; font-size: 17px; letter-spacing: 0.14em; white-space: nowrap; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 1px solid var(--color-border);
  border-radius: var(--radius); background: transparent; color: var(--color-text); cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--color-text); text-decoration: none; font-weight: 500; font-size: 15px; }
.site-nav a:hover { color: var(--color-cyan); }

@media (max-width: 767px) {
  .site-nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    background: var(--color-bg); border-bottom: 1px solid var(--color-border);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { padding: 8px 20px 20px; }
  .site-nav li a { display: block; padding: 14px 0; border-top: 1px solid var(--color-border); font-size: 17px; }
  .site-nav li:first-child a { border-top: 0; }
}
@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .site-nav ul { display: flex; gap: 36px; }
}

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius);
  font: 600 15px/1.2 var(--font); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--color-cyan); color: var(--color-bg); }
.btn-primary:hover { background: #33C3F3; color: var(--color-bg); }
.btn-secondary { background: transparent; color: var(--color-text); border-color: var(--color-text); }
.btn-secondary:hover { background: var(--color-text); color: var(--color-bg); }
.btn-small { min-height: 44px; padding: 10px 16px; font-size: 14px; }
.btn svg, .btn img { width: 18px; height: 18px; flex: none; }

/* Sections */
.section { padding: var(--section-y) 0; }
.section-alt { background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.section-title { font-size: clamp(28px, 4vw, 38px); }
.section-title::after {
  content: ""; display: block; width: 48px; height: 4px; margin-top: 16px; background: var(--accent, var(--color-cyan));
}
.accent-cyan { --accent: var(--color-cyan); }
.accent-orange { --accent: var(--color-orange); }
.accent-pink { --accent: var(--color-pink); }
.accent-green { --accent: var(--color-green); }
.section-lead { margin-top: 20px; max-width: 62ch; color: var(--color-text-muted); font-size: 17px; }

/* Accueil : photo plein cadre sous l'en-tete, texte sur un voile, bandeau des domaines */
.accueil .site-header:not(.is-scrolled) { background: transparent; }
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + 40px) 0 0;
  min-height: min(760px, 100svh);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero-photo, .hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { z-index: -2; }
.hero-photo img { object-fit: cover; object-position: 70% 30%; }
.hero-voile {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, var(--color-bg) 0%, rgba(13, 11, 10, 0.86) 34%, rgba(13, 11, 10, 0.35) 62%, rgba(13, 11, 10, 0.55) 100%);
}
.hero-inner { padding-bottom: 36px; }
.eyebrow {
  color: var(--color-cyan); font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}
.hero h1 { margin-top: 18px; font-size: clamp(32px, 5.4vw, 56px); max-width: 17ch; }
.hero-lead { margin-top: 20px; font-size: 18px; color: #E7E5E4; max-width: 50ch; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-domaines {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: rgba(255, 255, 255, 0.14); border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-domaines li { background: rgba(13, 11, 10, 0.9); padding: 18px 16px 22px; font-size: 13.5px; color: #E7E5E4; }
.hero-domaines li::before { content: ""; display: block; width: 12px; height: 12px; margin-bottom: 12px; background: var(--accent); }
@media (max-width: 767px) {
  /* Telephone : la photo occupe le haut, le texte commence sur le fondu */
  .hero { min-height: 0; padding-top: calc(var(--header-h) + 250px); }
  .hero-photo { bottom: auto; height: 470px; }
  .hero-photo img { object-position: 30% 22%; }
  .hero-voile {
    bottom: auto; height: 470px;
    background: linear-gradient(0deg, var(--color-bg) 0%, rgba(13, 11, 10, 0.75) 32%, rgba(13, 11, 10, 0) 62%, rgba(13, 11, 10, 0.45) 100%);
  }
}
@media (min-width: 768px) {
  .hero { padding-top: calc(var(--header-h) + 72px); }
  .hero-photo img { object-position: center; }
  .hero-voile {
    background:
      linear-gradient(90deg, rgba(13, 11, 10, 0.95) 0%, rgba(13, 11, 10, 0.85) 38%, rgba(13, 11, 10, 0.25) 72%, rgba(13, 11, 10, 0.1) 100%),
      linear-gradient(0deg, var(--color-bg) 0%, rgba(13, 11, 10, 0) 32%);
  }
  .hero-inner { padding-bottom: 64px; }
  .hero-domaines { grid-template-columns: repeat(4, 1fr); }
  .hero-domaines li { padding: 22px 20px 26px; }
}
@media (min-width: 1024px) {
  .hero { min-height: min(820px, 100svh); }
  /* Photo sur la droite : le visage reste hors du texte */
  .hero-photo { left: 36%; }
  .hero-photo img { object-position: 40% 30%; }
  .hero-voile {
    background:
      linear-gradient(90deg, var(--color-bg) 0%, var(--color-bg) 36%, rgba(13, 11, 10, 0.55) 48%, rgba(13, 11, 10, 0) 66%),
      linear-gradient(0deg, var(--color-bg) 0%, rgba(13, 11, 10, 0) 30%);
  }
}

/* A propos */
.about-grid { display: grid; gap: 40px; margin-top: 36px; align-items: center; }
.about-text p + p { margin-top: 16px; }
.about-text { color: #E7E5E4; font-size: 17px; max-width: 62ch; }
.about-photo { position: relative; margin: 0 0 14px 14px; }
.about-photo::before { content: ""; position: absolute; left: -14px; bottom: -14px; width: 72px; height: 72px; background: var(--color-orange); z-index: 0; }
.about-photo img { position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.values { display: grid; gap: 16px; margin-top: 56px; }
.value-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 24px; }
.section-alt .value-card { background: var(--color-bg); }
.value-card .square { width: 20px; height: 20px; background: var(--accent); }
.value-card h3 { margin-top: 18px; font-size: 19px; }
.value-card p { margin-top: 8px; color: var(--color-text-muted); }
@media (min-width: 768px) { .values { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* Bandeau de photos */
.bandeau-photos { padding: 0 0 var(--section-y); }
.bandeau-grille { display: grid; gap: 14px; }
.bandeau-grille figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; }
.bandeau-grille img { width: 100%; height: 100%; object-fit: cover; }
.bandeau-grille figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13, 11, 10, 0.72), rgba(13, 11, 10, 0) 55%); }
.bandeau-grille figcaption { position: absolute; left: 16px; bottom: 14px; z-index: 1; font-weight: 600; font-size: 14px; }
@media (min-width: 768px) {
  .bandeau-grille { grid-template-columns: 1.3fr 1fr 1fr; }
  .bandeau-grille figure { aspect-ratio: auto; height: 240px; }
}

/* Produits */
.products { display: grid; gap: 20px; margin-top: 40px; }
.product-card { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.product-head { display: flex; align-items: center; gap: 16px; }
.product-head img { width: 64px; height: 64px; border-radius: 14px; }
.product-head h3 { font-size: 22px; }
.badge {
  display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  color: var(--color-green); border: 1px solid rgba(126, 211, 33, .5); background: rgba(126, 211, 33, .08);
}
.product-card p { color: #D6D3D1; }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 4px; }
.product-card.is-soon { align-items: center; justify-content: center; text-align: center; border-style: dashed; min-height: 220px; color: var(--color-text-muted); }
.soon-squares { display: flex; gap: 8px; opacity: .55; }
.soon-squares span { width: 14px; height: 14px; }
.sq-cyan { background: var(--color-cyan); }
.sq-orange { background: var(--color-orange); }
.sq-pink { background: var(--color-pink); }
.sq-green { background: var(--color-green); }
@media (min-width: 768px) { .products { grid-template-columns: repeat(2, 1fr); } }

/* Contact */
.contact-grid { display: grid; gap: 40px; margin-top: 40px; }
.contact-info dl { margin: 0; display: grid; gap: 22px; }
.contact-info dt { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--color-text-muted); }
.contact-info dd { margin: 4px 0 0; font-size: 16px; }
.contact-form { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 24px; display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 14px; }
.field label .req { color: var(--color-cyan); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--font); color: var(--color-text);
  background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 12px 14px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--color-text-muted) 50%), linear-gradient(135deg, var(--color-text-muted) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--color-cyan); outline-offset: 0; border-color: transparent; }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--color-pink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.5em; font-size: 15px; }
.form-status.is-success { color: var(--color-green); }
.form-status.is-error { color: #FF7AC3; }
.form-note { font-size: 13px; color: var(--color-text-muted); }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 64px; } .contact-form { padding: 32px; } }

/* Pages de texte (mentions, confidentialite, 404) */
.page-head { padding: 56px 0 8px; }
.page-head h1 { font-size: clamp(30px, 4.6vw, 44px); }
.prose { padding: 32px 0 var(--section-y); max-width: 760px; }
.prose h2 { font-size: 20px; margin-top: 40px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul, .prose dl { margin-top: 14px; color: #E7E5E4; }
.prose ul { padding-left: 0; list-style: none; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--color-cyan); }
.prose dl { display: grid; gap: 16px; }
.prose dt { font-weight: 600; }
.prose dd { margin: 2px 0 0; color: var(--color-text-muted); }
.prose .updated { margin-top: 40px; font-size: 14px; color: var(--color-text-muted); }
.notfound { padding: 96px 0 var(--section-y); text-align: center; }
.notfound .code { font-size: clamp(64px, 14vw, 120px); font-weight: 700; line-height: 1; letter-spacing: -0.04em; }
.notfound p { margin: 16px auto 32px; color: var(--color-text-muted); max-width: 40ch; }
.notfound .soon-squares { justify-content: center; margin-bottom: 28px; opacity: 1; }

/* Pied de page */
.site-footer { border-top: 1px solid var(--color-border); padding: 48px 0 32px; font-size: 14px; }
.footer-top { display: grid; gap: 28px; }
.footer-brand img { width: 260px; height: auto; margin-left: -8px; }
.footer-brand p { margin-top: 10px; color: var(--color-text-muted); }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer-links a { color: var(--color-text); text-decoration: none; }
.footer-links a:hover { color: var(--color-cyan); }
.footer-legal { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--color-border); color: var(--color-text-muted); font-size: 13px; }
@media (min-width: 768px) { .footer-top { grid-template-columns: 1fr auto; align-items: end; } }

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