/* ═══════════════════════════════════════════════════════════
   Golf Français — Le Magazine
   Positionnement : luxe éditorial, marques premium
   Fonts : Cormorant Garamond (titres) + Jost (corps)
   Palette : vert forêt profond + or + crème + blanc
   ═══════════════════════════════════════════════════════════ */

:root {
  --noir:        #0a0f0a;
  --vert-nuit:   #0e1a0e;
  --vert-profond:#1a2e1c;
  --vert-mid:    #2d5a32;
  --vert-clair:  #3d7a43;
  --or:          #c9a84c;
  --or-clair:    #e8c97a;
  --or-pale:     #f5ecd4;
  --creme:       #faf8f3;
  --blanc:       #ffffff;
  --texte:       #1a1a1a;
  --texte-muted: #5a5a5a;
  --texte-light: #9a9a9a;
  --bordure:     #e2ddd4;
  --bordure-dark:#2a3a2a;
  --max-w:       1200px;
  --font-titre:  'Cormorant Garamond', Georgia, serif;
  --font-corps:  'Jost', system-ui, sans-serif;
  --radius:      2px;
  --radius-md:   4px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 17px; scroll-behavior: smooth; }
body {
  font-family: var(--font-corps);
  color: var(--texte);
  background: var(--blanc);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ─── Typographie ───────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-titre); line-height: 1.2; color: var(--vert-profond); }
h1 { font-size: clamp(2rem,4.5vw,3.2rem); font-weight: 400; letter-spacing:-.01em; }
h2 { font-size: clamp(1.5rem,3vw,2.2rem); font-weight: 400; }
h3 { font-size: clamp(1.2rem,2vw,1.6rem); font-weight: 400; font-style: italic; }
h4 { font-size: 1.05rem; font-weight: 500; font-family: var(--font-corps); letter-spacing:.04em; text-transform:uppercase; }
p { margin-bottom: 1.2rem; }
p:last-child { margin-bottom: 0; }
a { color: var(--vert-clair); text-decoration: none; transition: color .2s; }
a:hover { color: var(--or); }
strong { font-weight: 500; }

/* ─── Layout ────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }

/* ─── HEADER ────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--blanc);
  border-bottom: 1px solid var(--bordure);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: var(--vert-profond);
}
.logo-icon {
  width: 32px;
  height: 42px;
  color: var(--vert-profond);
  flex-shrink: 0;
  opacity: .85;
}
.logo-icon svg { width: 100%; height: 100%; }
.logo-text-block { display: flex; flex-direction: column; gap: .05rem; }
.logo-name {
  font-family: var(--font-titre);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1;
  color: var(--vert-profond);
}
.logo-tagline {
  font-family: var(--font-corps);
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--or);
  font-weight: 400;
}

/* Nav */
.main-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-corps);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--texte-muted);
  font-weight: 400;
  transition: color .2s;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--or);
  transition: width .25s;
}
.main-nav a:hover { color: var(--vert-profond); }
.main-nav a:hover::after { width: 100%; }

/* Nav toggle mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--vert-profond);
  transition: transform .25s, opacity .25s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--blanc);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--bordure);
    box-shadow: 0 8px 32px rgba(0,0,0,.08);
  }
  .main-nav.open { display: flex; }
  .main-nav a { font-size: .85rem; }
}

/* ─── Hero magazine ─────────────────────────────────────── */
.hero-mag {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--vert-nuit);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/images/hero-homepage.jpg');
  background-size: cover;
  background-position: center 30%;
  opacity: .45;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,15,10,.85) 40%, rgba(10,15,10,.2) 100%);
}
.hero-mag-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem 2rem;
  width: 100%;
}
.hero-eyebrow-mag {
  font-family: var(--font-corps);
  font-size: .65rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.hero-eyebrow-mag::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--or);
}
.hero-mag h1 {
  color: var(--blanc);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.05;
  max-width: 680px;
  margin-bottom: 1.5rem;
  letter-spacing: -.02em;
}
.hero-mag h1 em { font-style: italic; color: var(--or-clair); }
.hero-mag-desc {
  color: rgba(255,255,255,.72);
  font-size: 1rem;
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  font-weight: 300;
}
.hero-mag-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.hero-pill {
  font-size: .6rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  border: 1px solid rgba(201,168,76,.4);
  color: rgba(255,255,255,.7);
  padding: .4rem 1rem;
  border-radius: 0;
  text-decoration: none;
  transition: all .2s;
  font-family: var(--font-corps);
}
.hero-pill:hover {
  border-color: var(--or);
  color: var(--or);
  background: transparent;
}
/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.4);
  font-size: .6rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-family: var(--font-corps);
}
.hero-scroll-line {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,.3);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%,100% { transform: scaleY(1); opacity: .4; }
  50% { transform: scaleY(.5); opacity: .8; }
}

/* ─── Rubriques band ────────────────────────────────────── */
.rubriques-band { border-bottom: 1px solid var(--bordure); }
.rubriques-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border-top: 1px solid var(--bordure);
}
@media(max-width:640px) { .rubriques-grid { grid-template-columns: repeat(2,1fr); } }
.rubrique-card {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: 1.5rem 1.25rem;
  text-decoration: none;
  border-right: 1px solid var(--bordure);
  transition: background .15s;
  background: var(--blanc);
}
.rubrique-card:last-child { border-right: none; }
.rubrique-card:hover { background: var(--creme); }
.rubrique-card:hover .rubrique-card-arrow { color: var(--or); transform: translateX(3px); }
.rubrique-card-label { font-family: var(--font-titre); font-size: 1.15rem; color: var(--vert-profond); }
.rubrique-card-desc { font-size: .75rem; color: var(--texte-light); line-height: 1.5; font-weight: 300; }
.rubrique-card-arrow { font-size: .8rem; color: var(--texte-light); margin-top: .25rem; transition: transform .2s, color .2s; }

/* ─── Section ───────────────────────────────────────────── */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--creme); }
.section-title { margin-bottom: .4rem; }
.section-intro { color: var(--texte-muted); max-width: 560px; margin-bottom: 2.5rem; font-size: .9rem; font-weight: 300; }
.une-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 2rem; }
.voir-tout { font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: var(--texte-light); font-family: var(--font-corps); }
.voir-tout:hover { color: var(--or); }

/* ─── Article featured ──────────────────────────────────── */
.une-grid { display: grid; grid-template-columns: 1fr 340px; gap: 3rem; }
@media(max-width:860px) { .une-grid { grid-template-columns: 1fr; } }
.une-featured { display: flex; flex-direction: column; gap: 1.25rem; }
.une-featured-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--or-pale);
  position: relative;
}
.une-featured-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.une-featured:hover .une-featured-img img { transform: scale(1.03); }
.une-featured-body {}
.card-category {
  font-size: .6rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--or);
  font-family: var(--font-corps);
  margin-bottom: .4rem;
}
.une-featured-title { font-family: var(--font-titre); font-size: 1.8rem; line-height: 1.2; margin: .3rem 0 .6rem; }
.une-featured-title a { color: var(--vert-profond); }
.une-featured-title a:hover { color: var(--vert-clair); }
.une-featured-desc { font-size: .88rem; color: var(--texte-muted); font-weight: 300; }
.card-meta { font-size: .72rem; color: var(--texte-light); margin-top: .6rem; font-family: var(--font-corps); }

/* Articles secondaires */
.une-secondary { display: flex; flex-direction: column; border-left: 1px solid var(--bordure); padding-left: 2rem; }
.une-sec-item { display: grid; grid-template-columns: 80px 1fr; gap: .75rem; padding: 1rem 0; border-bottom: 1px solid var(--bordure); }
.une-sec-item:last-child { border-bottom: none; }
.une-sec-img { aspect-ratio: 1; overflow: hidden; background: var(--or-pale); }
.une-sec-img img { width: 100%; height: 100%; object-fit: cover; }
.une-sec-title { font-family: var(--font-titre); font-size: 1.05rem; line-height: 1.3; margin: .15rem 0; }
.une-sec-title a { color: var(--vert-profond); }
.une-sec-title a:hover { color: var(--vert-clair); }

/* ─── Editorial strip ───────────────────────────────────── */
.editorial-strip { border-top: 1px solid var(--bordure); border-bottom: 1px solid var(--bordure); padding: .75rem 0; background: var(--creme); }
.editorial-strip-inner { display: flex; gap: 1.5rem; align-items: center; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--texte-light); font-family: var(--font-corps); overflow: hidden; }
.sep { color: var(--bordure); }

/* ─── Destinations ──────────────────────────────────────── */
.dest-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--bordure); margin-top: 1.5rem; }
@media(max-width:640px) { .dest-grid { grid-template-columns: repeat(2,1fr); } }
.dest-card { display: block; text-decoration: none; background: var(--blanc); overflow: hidden; position: relative; }
.dest-card:hover .dest-img img { transform: scale(1.05); }
.dest-img { aspect-ratio: 3/4; overflow: hidden; }
.dest-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.dest-img-placeholder { width: 100%; height: 100%; background: var(--or-pale); min-height: 200px; }
.dest-body { padding: .85rem 1rem; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--bordure); }
.dest-region { font-family: var(--font-titre); font-size: 1.05rem; color: var(--vert-profond); }
.dest-arrow { font-size: .8rem; color: var(--texte-light); transition: color .2s, transform .2s; }
.dest-card:hover .dest-arrow { color: var(--or); transform: translateX(3px); }

/* ─── Card grid ─────────────────────────────────────────── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 2rem; }
.card { position: relative; overflow: hidden; }
.card:hover .card-img img { transform: scale(1.04); }
.card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--or-pale); margin-bottom: 1rem; }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.card-body {}
.card-title { font-family: var(--font-titre); font-size: 1.2rem; line-height: 1.3; margin: .3rem 0 .4rem; }
.card-title a { color: var(--vert-profond); }
.card-title a:hover { color: var(--vert-clair); }
.card-excerpt { font-size: .83rem; color: var(--texte-muted); font-weight: 300; }

/* ─── Article layout ────────────────────────────────────── */
.article-hero-img { width: 100%; max-height: 560px; overflow: hidden; }
.article-hero-img img { width: 100%; height: 560px; object-fit: cover; display: block; }
.article-category { font-size: .6rem; letter-spacing: .15em; text-transform: uppercase; color: var(--or); font-family: var(--font-corps); margin-bottom: .5rem; }
.article-description { font-size: 1.15rem; color: var(--texte-muted); margin: .75rem 0; font-style: italic; font-family: var(--font-titre); font-weight: 300; }
.article-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.tag { font-size: .65rem; background: var(--or-pale); color: var(--vert-mid); padding: .2rem .7rem; letter-spacing: .06em; font-family: var(--font-corps); }

/* Article body */
.article-body { max-width: 720px; margin: 0 auto; padding: 3rem 2rem 5rem; }
.article-body h2 { margin: 2.5rem 0 .75rem; padding-top: .5rem; border-top: 1px solid var(--bordure); }
.article-body h3 { margin: 1.75rem 0 .5rem; }
.article-body ul, .article-body ol { padding-left: 1.5rem; margin-bottom: 1.2rem; }
.article-body li { margin-bottom: .4rem; font-size: .95rem; color: var(--texte-muted); }
.article-body blockquote {
  border-left: 2px solid var(--or);
  padding: .75rem 1.5rem;
  margin: 2rem 0;
  font-family: var(--font-titre);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--vert-profond);
}
.article-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .88rem; }
.article-body th { background: var(--vert-profond); color: var(--blanc); padding: .6rem 1rem; text-align: left; font-family: var(--font-corps); font-weight: 400; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.article-body td { padding: .6rem 1rem; border-bottom: 1px solid var(--bordure); color: var(--texte-muted); }
.article-body tr:nth-child(even) td { background: var(--creme); }

/* ─── Breadcrumb ────────────────────────────────────────── */
.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: .72rem; color: var(--texte-light); padding: 1rem 0; border-bottom: 1px solid var(--bordure); margin-bottom: 2rem; font-family: var(--font-corps); }
.breadcrumb a { color: var(--texte-muted); }
.breadcrumb a:hover { color: var(--vert-clair); }
.breadcrumb-sep { color: var(--bordure); }

/* ─── Hero générique ────────────────────────────────────── */
.hero { background: var(--vert-profond); color: var(--blanc); padding: 4rem 0; }
.hero-eyebrow { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--or); margin-bottom: .75rem; font-family: var(--font-corps); }
.hero h1 { color: var(--blanc); }
.hero-desc { color: rgba(255,255,255,.7); font-size: .95rem; max-width: 580px; margin-top: .75rem; font-weight: 300; }

/* ─── Buttons ───────────────────────────────────────────── */
.btn { display: inline-block; padding: .8rem 2rem; font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; font-family: var(--font-corps); text-decoration: none; transition: all .2s; cursor: pointer; border: none; font-weight: 400; }
.btn-primary { background: var(--vert-profond); color: var(--blanc); }
.btn-primary:hover { background: var(--vert-mid); color: var(--blanc); }
.btn-outline { background: transparent; border: 1px solid var(--vert-profond); color: var(--vert-profond); }
.btn-outline:hover { background: var(--vert-profond); color: var(--blanc); }
.btn-gold { background: transparent; border: 1px solid var(--or); color: var(--or); }
.btn-gold:hover { background: var(--or); color: var(--vert-profond); }

/* ─── FOOTER ────────────────────────────────────────────── */
.site-footer { background: var(--vert-nuit); color: rgba(255,255,255,.6); padding: 4rem 0 0; margin-top: 5rem; }
.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; padding-bottom: 3rem; border-bottom: 1px solid var(--bordure-dark); }
@media(max-width:720px) { .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; } }
.footer-brand-block { display: flex; gap: 1rem; align-items: flex-start; }
.footer-logo-icon { width: 28px; height: 38px; color: var(--or); flex-shrink: 0; margin-top: .2rem; opacity: .7; }
.footer-logo-icon svg { width: 100%; height: 100%; }
.footer-name { font-family: var(--font-titre); font-size: 1.2rem; color: var(--blanc); line-height: 1; margin-bottom: .15rem; }
.footer-sub { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--or); margin-bottom: .75rem; }
.footer-desc { font-size: .8rem; line-height: 1.7; font-weight: 300; color: rgba(255,255,255,.45); }
.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
@media(max-width:480px) { .footer-links { grid-template-columns: 1fr 1fr; } }
.footer-heading { font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--or); margin-bottom: .85rem; font-family: var(--font-corps); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: rgba(255,255,255,.5); font-size: .82rem; font-weight: 300; transition: color .2s; }
.site-footer a:hover { color: var(--blanc); }
.footer-bottom { padding: 1.25rem 0; }
.footer-bottom p { font-size: .72rem; color: rgba(255,255,255,.3); letter-spacing: .04em; font-family: var(--font-corps); }

/* ─── Tables ────────────────────────────────────────────── */
table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .88rem; }
th { background: var(--vert-profond); color: var(--blanc); padding: .6rem 1rem; text-align: left; font-family: var(--font-corps); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 400; }
td { padding: .6rem 1rem; border-bottom: 1px solid var(--bordure); color: var(--texte-muted); }
tr:nth-child(even) td { background: var(--creme); }
