/*
Theme Name: Muslim-Invest
Theme URI: https://muslim-invest.fr
Author: Muslim-Invest
Description: Thème Muslim-Invest — Finance islamique selon le fiqh classique
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: muslim-invest
*/

/* ═══════════════════════════════════════════
   MUSLIM-INVEST — WORDPRESS THEME
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&family=Noto+Naskh+Arabic:wght@400;500&display=swap');

:root {
  --ink:        #1a1a18;
  --parchment:  #f8f5ef;
  --gold:       #b8963e;
  --gold-light: #d4b06a;
  --green-deep: #1d4a35;
  --green-mid:  #2d6a4f;
  --cream:      #f2ede3;
  --muted:      #7a7670;
  --border:     rgba(26,26,24,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--parchment);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0; opacity: 0.5;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin-bottom: 1.2rem; }
p:last-child { margin-bottom: 0; }

/* ── NAV ── */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 4rem;
  background: rgba(248,245,239,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
#site-header.scrolled { box-shadow: 0 1px 20px rgba(26,26,24,0.06); }

.site-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 500; letter-spacing: 0.02em;
}
.site-logo span { color: var(--green-deep); }

#primary-menu { display: flex; list-style: none; gap: 2.5rem; align-items: center; }
#primary-menu a {
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); transition: color 0.2s;
}
#primary-menu a:hover { color: var(--ink); }

.nav-cta {
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.55rem 1.3rem; border: 1px solid var(--green-deep);
  color: var(--green-deep); transition: all 0.25s;
}
.nav-cta:hover { background: var(--green-deep); color: var(--parchment); }

/* ── HERO ── */
.site-hero {
  min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr;
  position: relative; overflow: hidden; padding-top: 72px;
}

.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 5rem 4rem; position: relative; z-index: 1;
}

.hero-eyebrow {
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.8rem;
  animation: fadeUp 1s 0.2s ease both;
}
.hero-eyebrow::before { content: ''; width: 2rem; height: 1px; background: var(--gold); }

.hero-arabic {
  font-family: 'Noto Naskh Arabic', serif; font-size: 2.4rem;
  color: var(--green-deep); line-height: 1.4; margin-bottom: 1rem;
  direction: rtl; text-align: right; opacity: 0.85;
  animation: fadeUp 1s 0.35s ease both;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  font-weight: 300; line-height: 1.15; color: var(--ink);
  margin-bottom: 1.8rem; animation: fadeUp 1s 0.5s ease both;
}
.hero-title em { font-style: italic; color: var(--green-deep); }
.hero-title strong { font-weight: 500; display: block; }

.hero-sub {
  font-size: 0.95rem; color: var(--muted); max-width: 38ch;
  margin-bottom: 2.5rem; line-height: 1.8;
  animation: fadeUp 1s 0.65s ease both;
}

.hero-actions { display: flex; gap: 1.2rem; align-items: center; animation: fadeUp 1s 0.8s ease both; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1.8rem; background: var(--green-deep);
  color: var(--parchment); font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  transition: background 0.25s;
}
.btn-primary:hover { background: var(--green-mid); color: var(--parchment); }

.btn-ghost-link {
  font-size: 0.8rem; color: var(--ink);
  display: flex; align-items: center; gap: 0.4rem; transition: gap 0.2s;
}
.btn-ghost-link:hover { gap: 0.8rem; }

.hero-right { position: relative; overflow: hidden; }
.hero-right-inner {
  position: absolute; inset: 0; background: var(--green-deep);
  display: flex; flex-direction: column; justify-content: center;
  align-items: center; padding: 3rem;
}
.geo-pattern {
  position: absolute; inset: 0; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M40 0 L80 20 L80 60 L40 80 L0 60 L0 20 Z' fill='none' stroke='%23f8f5ef' stroke-width='1'/%3E%3C/svg%3E");
}
.hero-stat-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5px;
  width: 100%; max-width: 360px; position: relative; z-index: 1;
}
.hero-stat {
  background: rgba(248,245,239,0.06); padding: 1.8rem 1.4rem;
  border: 1px solid rgba(248,245,239,0.1); transition: background 0.2s;
}
.hero-stat:hover { background: rgba(248,245,239,0.1); }
.hero-stat-num {
  font-family: 'Cormorant Garamond', serif; font-size: 2.6rem;
  font-weight: 300; color: var(--parchment); line-height: 1; margin-bottom: 0.3rem;
}
.hero-stat-num span { color: var(--gold-light); font-size: 1.4rem; }
.hero-stat-label {
  font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(248,245,239,0.5);
}
.hero-quote {
  margin-top: 1.8rem; padding: 1.3rem; border-left: 2px solid var(--gold);
  position: relative; z-index: 1; width: 100%; max-width: 360px;
}
.hero-quote p {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 1rem; color: rgba(248,245,239,0.75); line-height: 1.6;
}
.hero-quote cite {
  display: block; margin-top: 0.5rem; font-size: 0.68rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-light); font-style: normal;
}

/* ── SECTIONS COMMUNES ── */
.section-eyebrow {
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.8rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.section-eyebrow::before { content: ''; width: 1.5rem; height: 1px; background: var(--gold); }
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300; line-height: 1.2; color: var(--ink); margin-bottom: 0.8rem;
}
.section-title em { color: var(--green-deep); font-style: italic; }

/* ── RUPTURE ── */
.section-rupture {
  background: var(--ink); padding: 5rem 4rem;
  display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; align-items: center;
  position: relative; z-index: 1;
}
.rupture-label {
  font-family: 'Cormorant Garamond', serif; font-size: 3rem;
  font-weight: 300; color: var(--gold); line-height: 1.1;
}
.rupture-items { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.rupture-item {
  padding: 1.8rem; border: 1px solid rgba(248,245,239,0.08); transition: background 0.2s;
}
.rupture-item:hover { background: rgba(248,245,239,0.03); }
.rupture-item h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 1.1rem;
  font-weight: 400; color: var(--parchment); margin-bottom: 0.4rem;
}
.rupture-item p { font-size: 0.8rem; color: rgba(248,245,239,0.45); line-height: 1.7; }

/* ── DIFFÉRENCE ── */
.section-difference { padding: 6rem 4rem; position: relative; z-index: 1; }
.diff-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  margin-top: 3rem; border: 1px solid var(--border);
}
.diff-col { padding: 2.5rem; }
.diff-col:first-child { border-right: 1px solid var(--border); background: rgba(26,26,24,0.02); }
.diff-col-label {
  font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 1.2rem; padding-bottom: 0.8rem; border-bottom: 1px solid var(--border);
}
.diff-col:first-child .diff-col-label { color: var(--muted); }
.diff-col:last-child .diff-col-label { color: var(--green-deep); }
.diff-item { display: flex; align-items: flex-start; gap: 0.8rem; padding: 0.8rem 0; border-bottom: 1px solid var(--border); }
.diff-item:last-child { border-bottom: none; }
.diff-dot { width: 5px; height: 5px; border-radius: 50%; margin-top: 0.5rem; flex-shrink: 0; }
.diff-col:first-child .diff-dot { background: var(--muted); opacity: 0.4; }
.diff-col:last-child .diff-dot { background: var(--green-mid); }
.diff-item p { font-size: 0.85rem; line-height: 1.6; }
.diff-col:first-child .diff-item p { color: var(--muted); }

/* ── PILIERS ── */
.section-offre { background: var(--cream); padding: 6rem 4rem; position: relative; z-index: 1; }
.offre-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5px; margin-top: 3.5rem; background: var(--border);
}
.offre-card {
  background: var(--parchment); padding: 2.2rem;
  transition: all 0.3s; position: relative; overflow: hidden;
}
.offre-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--green-deep); transform: scaleX(0);
  transition: transform 0.3s; transform-origin: left;
}
.offre-card:hover { background: #fff; }
.offre-card:hover::before { transform: scaleX(1); }
.offre-num {
  font-family: 'Cormorant Garamond', serif; font-size: 2.8rem;
  font-weight: 300; color: rgba(26,26,24,0.07); line-height: 1; margin-bottom: 1.2rem;
}
.offre-arabic { font-family: 'Noto Naskh Arabic', serif; font-size: 1.3rem; color: var(--green-mid); margin-bottom: 0.3rem; direction: rtl; }
.offre-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 500; color: var(--ink); margin-bottom: 0.7rem; }
.offre-card p { font-size: 0.82rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.2rem; }
.offre-tag { display: inline-block; font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.25rem 0.7rem; background: rgba(45,106,79,0.08); color: var(--green-mid); }

/* ── BLOG ── */
.section-blog { padding: 6rem 4rem; position: relative; z-index: 1; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 3rem; border: 1px solid var(--border); }
.post-card { padding: 2rem; border-right: 1px solid var(--border); transition: background 0.2s; display: flex; flex-direction: column; }
.post-card:last-child { border-right: none; }
.post-card:hover { background: rgba(26,26,24,0.02); }
.post-tag { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.5rem; }
.post-tag::before { content: ''; width: 1rem; height: 1px; background: var(--gold); }
.post-title { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 400; line-height: 1.3; color: var(--ink); margin-bottom: 0.8rem; transition: color 0.2s; }
.post-card:hover .post-title { color: var(--green-deep); }
.post-title a { color: inherit; }
.post-excerpt { font-size: 0.82rem; color: var(--muted); line-height: 1.7; flex: 1; margin-bottom: 1.2rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { font-size: 0.7rem; color: var(--muted); display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.post-badge { display: inline-block; font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.2rem 0.6rem; margin-left: auto; }
.post-badge.free { background: rgba(29,74,53,0.08); color: var(--green-mid); }
.post-badge.premium { background: rgba(184,150,62,0.1); color: var(--gold); }
.post-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border); }
.post-featured-image { background: var(--green-deep); min-height: 280px; position: relative; overflow: hidden; }
.post-featured-image img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.post-featured-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.post-featured-arabic { font-family: 'Noto Naskh Arabic', serif; font-size: 4rem; color: rgba(184,150,62,0.3); direction: rtl; }
.post-featured-content { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.post-featured-title { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 300; line-height: 1.2; color: var(--ink); margin-bottom: 1rem; }
.post-featured-excerpt { font-size: 0.88rem; color: var(--muted); line-height: 1.8; margin-bottom: 1.5rem; }
.read-more { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-deep); display: inline-flex; align-items: center; gap: 0.4rem; transition: gap 0.2s; margin-top: auto; }
.read-more:hover { gap: 0.8rem; }

/* ── À PROPOS ── */
.section-about { padding: 6rem 4rem; display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: center; position: relative; z-index: 1; }
.about-visual { position: relative; }
.about-frame { width: 100%; aspect-ratio: 3/4; background: var(--green-deep); position: relative; overflow: hidden; }
.about-frame-pattern { position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 5 L55 17.5 L55 42.5 L30 55 L5 42.5 L5 17.5 Z' fill='none' stroke='rgba(248,245,239,0.08)' stroke-width='1'/%3E%3C/svg%3E"); }
.about-frame-arabic { position: absolute; bottom: 2rem; left: 2rem; right: 2rem; font-family: 'Noto Naskh Arabic', serif; font-size: 2rem; color: rgba(184,150,62,0.35); text-align: center; direction: rtl; line-height: 1.6; }
.about-accent { position: absolute; top: -1.5rem; left: -1.5rem; width: 55%; aspect-ratio: 1; border: 1px solid var(--gold); opacity: 0.25; z-index: -1; }
.about-content p { font-size: 0.9rem; color: var(--muted); line-height: 1.9; }
.about-content p strong { color: var(--ink); font-weight: 500; }
.about-principles { margin-top: 2rem; border-top: 1px solid var(--border); }
.principle { display: flex; align-items: flex-start; gap: 1.2rem; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.principle-ar { font-family: 'Noto Naskh Arabic', serif; font-size: 1rem; color: var(--gold); flex-shrink: 0; width: 2.5rem; text-align: center; direction: rtl; }
.principle-text strong { display: block; font-size: 0.82rem; font-weight: 500; color: var(--ink); margin-bottom: 0.15rem; }
.principle-text span { font-size: 0.77rem; color: var(--muted); }

/* ── CTA ── */
.section-cta {
  background: var(--green-deep); padding: 6rem 4rem;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 4rem; align-items: center;
  position: relative; z-index: 1; overflow: hidden;
}
.section-cta::before {
  content: ''; position: absolute; right: -5rem; top: 50%; transform: translateY(-50%);
  width: 35rem; height: 35rem; border-radius: 50%; border: 1px solid rgba(184,150,62,0.15);
}
.cta-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 300; color: var(--parchment); line-height: 1.2; margin-bottom: 1rem; }
.cta-title em { color: var(--gold-light); font-style: italic; }
.cta-sub { font-size: 0.88rem; color: rgba(248,245,239,0.55); line-height: 1.8; }
.cta-form { display: flex; flex-direction: column; gap: 0.8rem; position: relative; z-index: 1; }
.cta-form input[type="email"] {
  background: rgba(248,245,239,0.07); border: 1px solid rgba(248,245,239,0.15);
  padding: 0.9rem 1.2rem; color: var(--parchment); font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem; outline: none; transition: border-color 0.2s; width: 100%;
}
.cta-form input[type="text"] {
  background: rgba(248,245,239,0.07) !important;
  border: 1px solid rgba(248,245,239,0.15) !important;
  padding: 0.9rem 1.2rem !important;
  color: #f8f5ef !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.85rem !important;
  outline: none !important;
  transition: border-color 0.2s;
  width: 100% !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  -webkit-appearance: none !important;
}
.cta-form input[type="text"]::placeholder {
  color: rgba(248,245,239,0.3) !important;
  opacity: 1 !important;
}
.cta-form input[type="text"]::placeholder {
  color: rgba(248,245,239,0.3);
}
.cta-form input[type="text"]:focus {
  border-color: rgba(248,245,239,0.4);
}
.cta-form input::placeholder { color: rgba(248,245,239,0.3); }
.cta-form input:focus { border-color: rgba(248,245,239,0.4); }
.cta-form button {
  background: var(--gold); border: none; padding: 0.9rem; color: var(--ink);
  font-family: 'DM Sans', sans-serif; font-size: 0.78rem; letter-spacing: 0.12em;
  text-transform: uppercase; font-weight: 500; cursor: pointer; transition: background 0.2s;
}
.cta-form button:hover { background: var(--gold-light); }
.cta-note { font-size: 0.68rem; letter-spacing: 0.05em; color: rgba(248,245,239,0.25); text-align: center; }

/* ── SINGLE POST ── */
.single-article { max-width: 720px; margin: 0 auto; padding: 7rem 2rem 5rem; position: relative; z-index: 1; }
.article-tag { font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.6rem; }
.article-tag::before { content: ''; width: 1rem; height: 1px; background: var(--gold); }
.article-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 300; line-height: 1.15; color: var(--ink); margin-bottom: 1.2rem; }
.article-excerpt { font-size: 1.05rem; color: var(--muted); line-height: 1.8; border-left: 2px solid var(--gold); padding-left: 1.2rem; margin-bottom: 1.5rem; font-family: 'Cormorant Garamond', serif; font-style: italic; }
.article-meta { font-size: 0.75rem; color: var(--muted); display: flex; align-items: center; gap: 0.8rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); margin-bottom: 2.5rem; }
.article-thumb { width: 100%; aspect-ratio: 16/7; object-fit: cover; margin-bottom: 2.5rem; }
.entry-content { font-size: 0.97rem; line-height: 1.85; color: var(--ink); }
.entry-content h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; font-weight: 400; margin: 2.5rem 0 1rem; color: var(--green-deep); }
.entry-content h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 400; margin: 2rem 0 0.8rem; }
.entry-content p { margin-bottom: 1.4rem; }
.entry-content strong { font-weight: 500; }
.entry-content em { font-style: italic; color: var(--green-deep); }
.entry-content a { color: var(--green-deep); border-bottom: 1px solid rgba(45,106,79,0.3); transition: border-color 0.2s; }
.entry-content a:hover { border-color: var(--green-deep); }
.entry-content blockquote { border-left: 2px solid var(--gold); padding: 1rem 1.4rem; margin: 2rem 0; background: rgba(184,150,62,0.04); }
.entry-content blockquote p { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.1rem; }
.article-disclaimer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: 0.78rem; color: var(--muted); line-height: 1.7; }

/* ── FOOTER ── */
#site-footer {
  background: var(--ink); padding: 2.5rem 4rem;
  display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 1;
}
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: rgba(248,245,239,0.5); }
.footer-logo span { color: var(--gold); }
.footer-disclaimer { font-size: 0.68rem; color: rgba(248,245,239,0.2); max-width: 42ch; text-align: center; line-height: 1.6; }
.footer-nav { display: flex; gap: 1.8rem; list-style: none; }
.footer-nav a { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(248,245,239,0.3); transition: color 0.2s; }
.footer-nav a:hover { color: rgba(248,245,239,0.7); }

/* ── PAGINATION ── */
.mi-pagination { display: flex; justify-content: center; gap: 1rem; padding: 3rem 4rem; position: relative; z-index: 1; }
.mi-pagination a { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.6rem 1.4rem; border: 1px solid var(--border); color: var(--ink); transition: all 0.2s; }
.mi-pagination a:hover { border-color: var(--green-deep); color: var(--green-deep); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  #site-header { padding: 1rem 1.5rem; }
  .site-hero { grid-template-columns: 1fr; }
  .hero-right { min-height: 380px; position: relative; }
  .hero-right-inner { position: relative; }
  .hero-left { padding: 4rem 1.5rem; }
  .section-rupture { grid-template-columns: 1fr; gap: 2rem; padding: 4rem 1.5rem; }
  .rupture-items { grid-template-columns: 1fr; }
  .section-difference, .section-offre, .section-blog, .section-cta, .section-about { padding: 4rem 1.5rem; }
  .offre-grid, .post-grid { grid-template-columns: 1fr; }
  .post-featured { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .diff-col:first-child { border-right: none; border-bottom: 1px solid var(--border); }
  .section-cta { grid-template-columns: 1fr; gap: 2rem; }
  .section-about { grid-template-columns: 1fr; gap: 3rem; }
  #site-footer { flex-direction: column; gap: 1.5rem; text-align: center; }
  #primary-menu { display: none; }
}
.cta-form input:-webkit-autofill,
.cta-form input:-webkit-autofill:hover,
.cta-form input:-webkit-autofill:focus,
.cta-form input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 60px rgba(29,74,53,0.95) inset !important;
  -webkit-text-fill-color: #f8f5ef !important;
  caret-color: #f8f5ef !important;
}
