/* ============================================================
   FRAC & Co — site.css
   Réplique propre du site fracandco.ca (ex-GoDaddy Website Builder).
   Zéro dépendance CMS. Fonts auto-hébergées (pas de CDN tiers).
   Éditable directement par Claude Desktop / Cowork / Code.
   ============================================================ */

/* ---------- Fonts (self-hosted, /fonts/) ---------- */
@font-face {
  font-family: 'Playfair Display';
  src: url('/fonts/playfair-display-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Source Sans Pro';
  src: url('/fonts/source-sans-pro-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Source Sans Pro';
  src: url('/fonts/source-sans-pro-latin-700-normal.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Variables (valeurs relevées sur le site live) ---------- */
:root {
  --bg-page:        #000000;   /* sections principales */
  --bg-header:      #161616;   /* bandeau header */
  --text-heading:   #E2E2E2;   /* H2 sections */
  --text-hero:      #FFFFFF;   /* H1 hero */
  --text-body:      #919191;   /* paragraphes */
  --text-eyebrow:   #969696;   /* surtitres */
  --btn-bg:         #FFFFFF;
  --btn-text:       #000000;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Source Sans Pro', Arial, sans-serif;
}

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

body {
  background: var(--bg-page);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: 22px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.container {
  max-width: 1200px;   /* élargi pour que le CTA tienne sur une ligne à côté du logo 504px */
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- Header (transparent, posé sur le hero) ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  background: transparent;
  padding: 20px 24px;
  display: flex;
  justify-content: center;
}
.site-header img { height: 52px; width: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('/assets/hero.jpg') center / cover no-repeat;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.25);   /* voile sombre du site original (linear-gradient 0.25) */
}
.hero h1 {
  position: relative;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 62px;
  line-height: 1.2;
  color: var(--text-hero);
  padding: 96px 24px;
  text-wrap: balance;
}
@media (max-width: 767px) {
  .hero h1 { font-size: 44px; }
}

/* ---------- Sections de contenu ---------- */
.section {
  padding-block: 96px;
}
.section .container {
  display: grid;
  grid-template-columns: minmax(0, 504px) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .section .container { grid-template-columns: 1fr; }
}

.section-media img { width: 100%; max-width: 504px; }  /* +20 % (420 → 504) */

.eyebrow {
  font-size: 14px;
  color: var(--text-eyebrow);
  margin-bottom: 16px;
}

.section h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 44px;
  line-height: 1.25;
  color: var(--text-heading);
  margin-bottom: 24px;
  text-wrap: balance;
}

.section p {
  margin-bottom: 24px;
  max-width: 523px;   /* = largeur rendue du bouton CTA (texte aligné au bouton) */
}

/* ---------- Bouton CTA ---------- */
.btn {
  display: inline-block;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  padding: 14px 32px;
  border: 0;
  border-radius: 4px;
  margin-top: 16px;
}
.btn:hover { background: #E2E2E2; }
@media (min-width: 900px) {
  .btn { white-space: nowrap; }   /* une seule ligne sur desktop */
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 64px 24px 48px;
  text-align: center;
  font-size: 15px;
  color: var(--text-body);
}
.site-footer p { margin-bottom: 8px; }
.site-footer .footer-link {
  display: inline-block;
  margin-top: 32px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-heading);
  text-decoration: none;
}
.site-footer .footer-link:hover { text-decoration: underline; }

/* ---------- Page Politique de confidentialité ---------- */
.legal {
  /* header absolu (transparent) → dégager le contenu dessous */
  padding-block: 160px 64px;
}
.legal .container { max-width: 820px; }
.legal h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 44px;
  color: var(--text-heading);
  margin-bottom: 48px;
}
.legal h2 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-heading);
  margin: 40px 0 12px;
}
.legal p, .legal li {
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 14px;
}
.legal ul { padding-left: 24px; margin-bottom: 14px; }
.legal hr {
  border: 0;
  border-top: 1px solid #333;
  margin: 64px 0;
}
.legal a { color: var(--text-heading); }
