/* DULCE Y DURA — Association culturelle (Saint-Martin)
   Stylesheet — clean, accessible, mobile-first */

:root {
  --rose: #d14d72;
  --rose-dark: #a83258;
  --turquoise: #2ba39e;
  --turquoise-dark: #1c7d79;
  --gold: #d4a341;
  --ink: #1a1f36;
  --ink-soft: #4a5167;
  --cream: #fbf7f4;
  --white: #ffffff;
  --border: #e7e0d8;
  --shadow: 0 12px 32px rgba(26, 31, 54, 0.08);
  --shadow-lg: 0 24px 60px rgba(26, 31, 54, 0.14);
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1180px;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--rose-dark); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1.1em; color: var(--ink-soft); }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--white);
  padding: 10px 18px; z-index: 9999;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Layout helpers */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.bg-white { background: var(--white); }
.bg-rose { background: linear-gradient(135deg, #fff5f7 0%, #fde8ee 100%); }
.bg-turquoise { background: linear-gradient(135deg, #effaf9 0%, #d8f1ef 100%); }
.bg-cream { background: var(--cream); }

/* Top utility bar */
.topbar {
  background: var(--ink);
  color: #d8dbe7;
  font-size: 13px;
  padding: 8px 0;
}
.topbar .container {
  display: flex; flex-wrap: wrap; gap: 14px;
  align-items: center; justify-content: space-between;
}
.topbar a { color: #ffd9bf; }

/* Header / nav */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 18px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink);
}
.brand-mark {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, var(--rose) 0%, var(--turquoise) 100%);
  color: white; display: grid; place-items: center;
  font-family: var(--font-serif); font-weight: 700; font-size: 22px;
  box-shadow: var(--shadow);
}
.brand-name { font-family: var(--font-serif); font-size: 22px; font-weight: 600; line-height: 1; }
.brand-tag { font-size: 12px; color: var(--ink-soft); letter-spacing: .12em; text-transform: uppercase; }

.nav { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.nav a {
  color: var(--ink); padding: 9px 12px; border-radius: 8px;
  font-size: 15px; font-weight: 500; text-decoration: none;
  transition: background .15s, color .15s;
}
.nav a:hover, .nav a.active { background: #faeef2; color: var(--rose-dark); text-decoration: none; }

.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--border);
  padding: 8px 12px; border-radius: 8px; cursor: pointer; font-size: 18px;
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(135deg, #fff5f7 0%, #effaf9 100%);
  padding: 90px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(209,77,114,.18), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: -100px; bottom: -100px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle at 70% 70%, rgba(43,163,158,.18), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative; display: grid;
  grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center;
}
.hero-eyebrow {
  display: inline-block; padding: 6px 12px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 999px; font-size: 13px; color: var(--rose-dark);
  letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 { margin-top: 0; }
.hero p.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 560px; }
.hero-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 28px;
}
.hero-card h3 { margin-top: 0; }
.hero-card ul { margin: 0; padding-left: 18px; color: var(--ink-soft); }
.hero-card li { margin-bottom: 8px; }

/* Buttons */
.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.btn {
  display: inline-block; padding: 13px 22px;
  border-radius: 999px; font-weight: 600; font-size: 15px;
  text-decoration: none; border: 2px solid transparent;
  transition: transform .15s, box-shadow .15s, background .15s;
  cursor: pointer;
}
.btn-primary { background: var(--rose); color: white; }
.btn-primary:hover { background: var(--rose-dark); text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-secondary { background: var(--turquoise); color: white; }
.btn-secondary:hover { background: var(--turquoise-dark); text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--ink); text-decoration: none; }

/* Cards / grid */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 14px;
  font-size: 24px; color: white;
}
.card .icon.rose { background: linear-gradient(135deg, #d14d72, #ef7b9a); }
.card .icon.turquoise { background: linear-gradient(135deg, #2ba39e, #4cc9c4); }
.card .icon.gold { background: linear-gradient(135deg, #d4a341, #e8be63); }
.card .icon.ink { background: linear-gradient(135deg, #1a1f36, #3a4262); }
.card h3 { margin-top: 0; }
.card .more { font-weight: 600; color: var(--rose-dark); }

/* Section header */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head .eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700;
  color: var(--turquoise-dark); text-transform: uppercase; letter-spacing: .14em;
  margin-bottom: 10px;
}
.section-head p { font-size: 1.08rem; }

/* Article body */
.article {
  background: var(--white); border-radius: var(--radius);
  padding: 48px 56px; box-shadow: var(--shadow);
  max-width: 860px; margin: 0 auto;
}
.article h2 { margin-top: 1.6em; }
.article h3 { margin-top: 1.4em; }
.article ul, .article ol { color: var(--ink-soft); padding-left: 22px; }
.article li { margin-bottom: 8px; }
.article blockquote {
  border-left: 4px solid var(--rose);
  background: #fff5f7; padding: 18px 22px; margin: 24px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink); font-style: italic;
}
.article .toc {
  background: #effaf9; border-left: 4px solid var(--turquoise);
  padding: 18px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 0 0 32px;
}
.article .toc h4 { margin: 0 0 8px; font-family: var(--font-sans); font-size: 14px; text-transform: uppercase; letter-spacing: .1em; color: var(--turquoise-dark); }
.article .toc ol { margin: 0; padding-left: 20px; }
.article .toc a { color: var(--ink); }

/* Breadcrumbs */
.breadcrumb {
  font-size: 14px; color: var(--ink-soft);
  padding: 18px 0 0;
}
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb span { margin: 0 6px; opacity: .6; }

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--rose) 0%, var(--turquoise) 100%);
  color: white; border-radius: var(--radius);
  padding: 44px 40px; text-align: center;
}
.cta-banner h2 { color: white; }
.cta-banner p { color: rgba(255,255,255,.92); max-width: 640px; margin: 0 auto 20px; }
.cta-banner .btn-primary { background: white; color: var(--rose-dark); }
.cta-banner .btn-primary:hover { background: var(--cream); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.stat {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; text-align: center;
}
.stat .num { font-family: var(--font-serif); font-size: 2.3rem; font-weight: 700; color: var(--rose); line-height: 1; }
.stat .lbl { font-size: 13px; color: var(--ink-soft); margin-top: 6px; text-transform: uppercase; letter-spacing: .08em; }

/* Info table */
.info-table {
  width: 100%; border-collapse: collapse; background: var(--white);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.info-table th, .info-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); font-size: 15px; }
.info-table th { background: #faeef2; color: var(--ink); font-weight: 600; width: 40%; }
.info-table tr:last-child td, .info-table tr:last-child th { border-bottom: 0; }

/* Form */
.form-card {
  background: var(--white); border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow); border: 1px solid var(--border);
}
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-family: inherit; font-size: 15px; background: var(--cream);
}
.form-row input:focus, .form-row textarea:focus {
  outline: 2px solid var(--rose); border-color: transparent;
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 13px; color: var(--ink-soft); }

/* Footer */
.site-footer {
  background: var(--ink); color: #c9cee0;
  padding: 56px 0 24px; margin-top: 60px; font-size: 14px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px;
  padding-bottom: 36px; border-bottom: 1px solid #2c3252;
}
.site-footer h4 {
  color: white; font-family: var(--font-sans); font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px;
}
.site-footer a { color: #c9cee0; display: block; padding: 4px 0; }
.site-footer a:hover { color: white; }
.site-footer .legal {
  padding-top: 24px; display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 14px; font-size: 13px; color: #8a90ad;
}

/* Notice / disclaimer box */
.notice {
  background: #fffaf0; border: 1px solid #f0d8a8;
  border-left: 4px solid var(--gold); padding: 18px 22px;
  border-radius: var(--radius-sm); margin: 22px 0;
}
.notice strong { color: var(--ink); }

/* Responsive */
@media (max-width: 920px) {
  .hero { padding: 60px 0 50px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .nav { display: none; flex-direction: column; align-items: stretch;
         position: absolute; top: 100%; left: 0; right: 0;
         background: white; border-bottom: 1px solid var(--border);
         padding: 12px; gap: 2px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav-toggle { display: inline-block; }
  .article { padding: 32px 24px; }
  .section { padding: 56px 0; }
}

@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar { font-size: 12px; }
  .topbar .container { justify-content: center; text-align: center; }
}

/* Print */
@media print {
  .site-header, .site-footer, .topbar, .cta-banner { display: none; }
  body { background: white; color: black; }
}
