@font-face {
  font-display: swap;
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  src: url("/fonts/InterVariable.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Spectral";
  font-style: normal;
  font-weight: 500;
  src: url("/fonts/Spectral-Medium.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Spectral";
  font-style: normal;
  font-weight: 600;
  src: url("/fonts/Spectral-SemiBold.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --paper: #ffffff;
  --paper-alt: #f4f6f8;
  --ink: #171a20;
  --muted: #59606c;
  --navy: #1c2b4a;
  --navy-deep: #121d35;
  --line: #d9dde3;
  --line-strong: #aeb6c2;
  --error: #a02318;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Spectral", Georgia, "Times New Roman", serif;
  --content-width: 1180px;
  --column-width: 760px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  font-optical-sizing: auto;
  line-height: 1.55;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p,
dt,
dd {
  overflow-wrap: anywhere;
}

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

/* Header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--content-width), 100%);
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  padding: 18px clamp(20px, 4vw, 32px);
}

.site-wordmark {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.site-wordmark a {
  color: inherit;
  text-decoration: none;
}

.language-switcher {
  display: inline-flex;
  gap: 4px;
}

.language-switcher button {
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  line-height: 1;
  padding: 8px 10px;
}

.language-switcher button:hover {
  background: var(--paper-alt);
  color: var(--ink);
}

.language-switcher button[aria-pressed="true"] {
  background: var(--navy);
  color: var(--paper);
}

/* Hero */

.page-shell {
  width: min(var(--content-width), 100%);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
  padding: clamp(40px, 6vw, 84px) 0 clamp(44px, 6vw, 92px);
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.005em;
}

h1 span {
  display: block;
}

h1 [data-domain] {
  overflow-wrap: normal;
  word-break: keep-all;
}

.headline-suffix {
  color: var(--navy);
}

.lede {
  max-width: 620px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  line-height: 1.6;
}

/* Fiche du domaine */

.domain-record {
  width: min(620px, 100%);
  margin: 34px 0 0;
  border-top: 2px solid var(--navy);
  padding: 0;
}

.record-row {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  border-bottom: 1px dotted var(--line-strong);
  padding: 11px 2px;
}

.record-row dt {
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.record-row dd {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.45;
}

.hero-note {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Formulaire */

.contact-panel {
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 0 1px 2px rgba(23, 26, 32, 0.05), 0 12px 32px rgba(23, 26, 32, 0.06);
  padding: clamp(24px, 3.5vw, 34px);
}

.panel-head h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.15;
}

.panel-head {
  margin-bottom: 22px;
}

.form-priority-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.direct-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.direct-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--navy);
  border-radius: 4px;
  background: var(--navy);
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 0 12px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 160ms ease;
}

.direct-link:hover {
  background: var(--navy-deep);
}

.direct-link-secondary {
  background: transparent;
  color: var(--navy);
}

.direct-link-secondary:hover {
  background: var(--paper-alt);
}

.contact-separator {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 4px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.contact-separator::before,
.contact-separator::after {
  flex: 1 1 auto;
  height: 1px;
  background: var(--line);
  content: "";
}

label {
  display: grid;
  gap: 7px;
  margin-top: 16px;
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 450;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input,
select {
  min-height: 46px;
  padding: 0 13px;
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--navy) 50%),
    linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 20px,
    calc(100% - 13px) 20px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  padding-right: 38px;
}

textarea {
  min-height: 128px;
  resize: vertical;
  padding: 12px 13px;
  line-height: 1.45;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(28, 43, 74, 0.14);
}

.contact-panel button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin-top: 20px;
  border: 0;
  border-radius: 4px;
  background: var(--navy);
  color: var(--paper);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 160ms ease;
}

.contact-panel button[type="submit"]:hover {
  background: var(--navy-deep);
}

.contact-panel button[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.7;
}

.notice {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.form-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 550;
  line-height: 1.4;
}

.form-status.is-error {
  color: var(--error);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* Sections éditoriales */

.content-section {
  width: min(var(--column-width), 100%);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: clamp(40px, 6vw, 64px) 0;
}

.content-section h2 {
  margin: 0 0 22px;
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 600;
  line-height: 1.16;
}

.content-section p {
  margin: 14px 0 0;
  font-size: 1.01rem;
  line-height: 1.65;
}

.answer-block {
  color: var(--ink);
  font-weight: 480;
}

.seo-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.seo-facts li {
  border-top: 1px dotted var(--line-strong);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  padding-top: 10px;
}

.about-domain p {
  color: var(--ink);
}

/* Guide d'acquisition */

.guide-steps {
  display: grid;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: guide-step;
}

.guide-steps li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 4px 14px;
  counter-increment: guide-step;
}

.guide-steps li::before {
  grid-row: span 2;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
  content: counter(guide-step) ".";
}

.guide-steps h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.35;
}

.guide-steps p {
  grid-column: 2;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* FAQ */

.faq-list {
  display: grid;
  gap: 22px;
  margin: 0;
}

.faq-item {
  border-bottom: 1px dotted var(--line-strong);
  padding-bottom: 20px;
}

.faq-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.faq-item dt {
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.35;
}

.faq-item dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Cadre de la vente */

.terms-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.terms-list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.terms-list li::before {
  position: absolute;
  top: 0.66em;
  left: 2px;
  width: 6px;
  height: 6px;
  background: var(--navy);
  content: "";
  transform: translateY(-50%);
}

/* Emplacements publicitaires (inactifs tant qu'AdSense n'est pas branché).
   Hauteur réservée pour éviter tout décalage de mise en page au chargement. */

.ad-slot {
  width: min(var(--column-width), 100%);
  margin: 0 auto;
  padding: 18px 0;
}

.ad-slot-label {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.ad-slot-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper-alt);
  overflow: hidden;
}

.ad-slot-container ins.adsbygoogle {
  display: block;
  width: 100%;
  min-height: 280px;
}

/* Pied de page */

.site-footer {
  width: min(var(--content-width), 100%);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 28px clamp(20px, 4vw, 32px) 40px;
}

.footer-note {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 14px;
}

.footer-links a {
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 550;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links a:hover {
  color: var(--navy-deep);
}

/* Pages légales */

.legal-page {
  width: min(var(--column-width), 100%);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 56px) clamp(20px, 4vw, 32px) clamp(48px, 6vw, 72px);
}

.legal-page h1 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.legal-page h2 {
  margin: 34px 0 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
}

.legal-page p,
.legal-page li {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 0.97rem;
  line-height: 1.65;
}

.legal-page ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.legal-page .back-link {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 550;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-updated {
  color: var(--muted);
  font-size: 0.85rem;
}

/* Apparition du hero au chargement */

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *,
  .contact-panel {
    animation: rise 480ms ease both;
  }

  .hero-copy > :nth-child(2) { animation-delay: 40ms; }
  .hero-copy > :nth-child(3) { animation-delay: 80ms; }
  .hero-copy > :nth-child(4) { animation-delay: 120ms; }
  .hero-copy > :nth-child(5) { animation-delay: 160ms; }
  .contact-panel { animation-delay: 140ms; }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* Responsive */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  h1 {
    font-size: clamp(2rem, 8.5vw, 3rem);
  }

  .record-row {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 12px;
  }

  .seo-facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .record-row {
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 9px 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
