/* ── Variables ── */
:root {
  --pad: clamp(24px, 5vw, 60px);
  --accent: #d4a853;
  --hero-gradient: radial-gradient(ellipse at 18% 60%, #1a1035 0%, #0d0d0d 65%);
}

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

html, body { height: 100%; }

body {
  font-family: "Marcellus", Georgia, "Times New Roman", serif;
  background: #0d0d0d;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }

/* ── Structure plein écran ── */
.page {
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ── Ken Burns ── */
@keyframes ken-burns {
  0%   { transform: scale(1.08) translate(-1.5%, 0%); }
  100% { transform: scale(1.18) translate(0%, -3%);   }
}

/* ── Image de fond ── */
.hero-bg {
  position: absolute;
  inset: -5%;
  background-image: url("images/hero-webo-4a.webp");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: 0;
  will-change: transform;
  animation: ken-burns 20s ease-in-out infinite alternate;
}

@media (max-width: 768px) {
  .hero-bg {
    background-position: center 20%;
  }
  .lead {
    font-size: 1.1rem;
    color: #fff;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg {
    animation: none;
    inset: 0;
  }
}

/* ── Overlay ── */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.35) 0%,
    rgba(0,0,0,0.05) 100%
  );
  z-index: 1;
}

/* ── Header ── */
header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px var(--pad);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.9);
  font-weight: normal;
  transition: color 150ms;
}
.logo:hover { color: #fff; }
.logo img { height: 36px; width: auto; display: block; }
.logo-text { font-size: clamp(0.95rem, 1.8vw, 1.15rem); letter-spacing: 0.1em; text-transform: uppercase; }

.nav-social {
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.9);
  transition: color 150ms;
}
.nav-social:hover { color: #fff; }

/* ── Contenu hero ── */
main {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 var(--pad);
}

.hero-inner { max-width: 820px; }

.eyebrow {
  display: block;
  font-size: clamp(0.75rem, 1.2vw, 0.9rem);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

h1 {
  font-family: "Marcellus", Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: normal;
  color: #ffffff;
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}

.lead {
  font-size: clamp(1.0rem, 1.4vw, 1.2rem);
  color: rgba(255,255,255,0.9);
  line-height: 1.85;
  margin-bottom: 44px;
  max-width: 52ch;
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Boutons ── */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  font-family: "Marcellus", Georgia, serif;
  font-size: 1.0rem;
  font-weight: normal;
  letter-spacing: 0.05em;
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 180ms, border-color 180ms, color 180ms;
  text-decoration: none;
  min-height: 44px;
}

.btn-light {
  background: #ffffff;
  color: #111111;
  border-color: #ffffff;
}
.btn-light:hover { background: transparent; color: #ffffff; }

.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.28);
  color: rgba(255,255,255,0.9);
}
.btn-ghost:hover { border-color: #ffffff; color: #ffffff; }

/* ── Footer ── */
footer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px var(--pad);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}

footer a, footer span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  transition: color 150ms;
}
footer a:hover { color: #fff; }
.footer-sep { color: rgba(255,255,255,0.15) !important; }

/* ── Mobile ── */
@media (max-width: 480px) {
  .actions { flex-direction: column; }
  .btn { justify-content: center; width: 100%; }
  .footer-sep { display: none; }
}

@media (orientation: landscape) and (max-height: 620px) {
  header, footer { padding-top: 12px; padding-bottom: 12px; }
  h1    { margin-bottom: 16px; }
  .lead { margin-bottom: 24px; }
}

/* ── Navigation (multi-pages) ── */
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 32px);
}

.site-nav a:not(.nav-social) {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 150ms;
  white-space: nowrap;
}
.site-nav a:not(.nav-social):hover { color: #fff; }
.site-nav a.active { color: var(--accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 3;
}
.nav-toggle span { display: block; width: 100%; height: 2px; background: #fff; transition: transform 200ms, opacity 200ms; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .site-header { position: relative; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(13,13,13,0.98);
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 250ms ease;
  }
  .site-nav.open { max-height: 420px; }
  .site-nav a:not(.nav-social) { padding: 14px var(--pad); width: 100%; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .site-nav a.nav-social { padding: 14px var(--pad); }
}

/* ── Gabarit des pages intérieures ── */
.site {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--hero-gradient);
}

.content {
  flex: 1 0 auto;
  padding: clamp(48px, 8vw, 88px) var(--pad) 80px;
}

.content-inner { max-width: 900px; margin: 0 auto; }

.page-eyebrow {
  display: block;
  font-size: clamp(0.75rem, 1.2vw, 0.9rem);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.page-title {
  font-family: "Marcellus", Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  font-weight: normal;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.page-lead {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 62ch;
}

.section { margin-bottom: 56px; }
.section:last-child { margin-bottom: 0; }

.content h2 {
  font-family: "Marcellus", Georgia, serif;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: normal;
  color: #fff;
  margin: 0 0 16px;
}

.content h3 {
  font-family: "Marcellus", Georgia, serif;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: normal;
  color: var(--accent);
  margin: 0 0 10px;
}

:where(.content) p {
  color: rgba(255,255,255,0.82);
  line-height: 1.85;
  margin-bottom: 16px;
  max-width: 68ch;
}

.content ul { margin: 0 0 20px 20px; color: rgba(255,255,255,0.82); line-height: 1.8; }
.content ul li { margin-bottom: 8px; }
.content ul li strong { color: #fff; }

.content hr { border: none; border-top: 1px solid rgba(255,255,255,0.12); margin: 40px 0; }

/* ── Nos marques ── */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.brand-card {
  border: 1px solid rgba(255,255,255,0.12);
  padding: 24px;
  transition: border-color 150ms, background 150ms;
}
.brand-card:hover { border-color: rgba(255,255,255,0.32); background: rgba(255,255,255,0.03); }

.brand-tag {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 10px;
}

.brand-card h4 {
  font-family: "Marcellus", Georgia, serif;
  font-size: 1.1rem;
  font-weight: normal;
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: 8px;
}

.brand-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin-bottom: 14px;
  max-width: none;
}

.brand-card a.brand-link {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  transition: color 150ms;
}
.brand-card a.brand-link:hover { color: #fff; }

/* ── Domaines ── */
.domain-featured {
  border: 2px solid var(--accent);
  padding: 28px var(--pad);
  text-align: center;
  margin-bottom: 40px;
  background: rgba(212,168,83,0.05);
}
.domain-featured .domain-name {
  font-family: "Marcellus", Georgia, serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: #fff;
  word-break: break-word;
}

.domain-featured-btn {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  transition: color 150ms;
}
.domain-featured-btn:hover { color: var(--accent); }

.domain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.domain-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 16px 12px;
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  background: none;
  font-family: "Marcellus", Georgia, serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color 150ms, background 150ms, color 150ms;
}
.domain-btn:hover { border-color: var(--accent); color: var(--accent); background: rgba(212,168,83,0.06); }

.domain-empty { color: rgba(255,255,255,0.6); }

/* ── Formulaire de contact ── */
.contact-form { max-width: 640px; margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-family: "Marcellus", Georgia, serif;
  font-size: 0.95rem;
  padding: 12px 14px;
  transition: border-color 150ms;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--accent); }
.form-field textarea { resize: vertical; min-height: 140px; }

.honeypot-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.form-msg { min-height: 24px; font-size: 0.85rem; }
.form-msg.success { color: #8fd694; }
.form-msg.error { color: #e08787; }

.form-note { font-size: 0.72rem; color: rgba(255,255,255,0.4); margin-top: -4px; }

/* ── Emplois ── */
.job-card {
  border: 1px solid rgba(255,255,255,0.12);
  padding: 28px;
  margin-top: 28px;
}
.job-card h3 { margin-top: 0; }
