/* ══════════════════════════════════════════════════════════
   GROUPE HALIL — Feuille de styles partagée
   Utilisé par : index.html, about.html, automobile.html, contact.html
   ══════════════════════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --navy:       #133337;
  --navy-mid:   #0e2829;
  --gold:       #92AAD2;
  --gold-light: #99B2DA;
  --white:      #F6F6F6;
  --grey:       #7C91B7;
  --light-bg:   #EEF0F0;
  --text:       #28343A;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--navy);
  color: var(--text);
  overflow-x: hidden;
}

/* ── HEADER ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  /* background: var(--navy); */
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(146,170,210,.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: 70px;
  transition: background .3s;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .1em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.logo span { color: var(--white); font-weight: 400; }

nav { display: flex; align-items: center; gap: 2rem; color: var(--navy)}
nav a {
  color: rgba(246,246,246,.8);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .25s;
  position: relative;
  padding-bottom: 4px;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .3s;
}
nav a:hover,
nav a.active { color: var(--gold); }
nav a:hover::after,
nav a.active::after { width: 100%; }

.social-bar { display: flex; gap: .8rem; }
.social-bar a {
  width: 32px; height: 32px;
  border: 1px solid rgba(146,170,210,.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light);
  text-decoration: none;
  font-size: .7rem;
  transition: all .25s;
}
.social-bar a:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: all .3s; }

/* ── MOBILE NAV ── */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--navy-mid);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.77,0,.175,1);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  transition: color .2s;
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav .close-btn {
  position: absolute;
  top: 1.5rem; right: 2rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(146,170,210,.08) 0%, transparent 70%),
    linear-gradient(135deg, #0e2829 0%, #0e2829 60%, #0c2225 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(146,170,210,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(146,170,210,.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
  padding-top: 20px;
}
.hero-eyebrow {
  font-size: .75rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  width: 400px; height: 1px;
  background: var(--gold);
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  text-align: center;
}
.hero-title em { font-style: normal; color: var(--gold); }
.hero-subtitle {
  font-size: 1rem; color: var(--grey);
  max-width: 520px; line-height: 1.8; margin-bottom: 3rem;
}
.hero-subtitle-center {
  font-size: 1rem; color: var(--grey);
  line-height: 1.8; margin-bottom: 3rem; text-align: center;
}
.hero-cta { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.hero-cta-center {
  display: flex; gap: 1.2rem; flex-wrap: wrap;
  justify-content: center; align-items: center;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: .9rem 2.2rem;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .3s;
  border: none;
  cursor: pointer;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(146,170,210,.3); }

.btn-primary-raouf {
  background: var(--navy);
  color: var(--white);
  padding: .9rem 2.2rem;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .3s;
  border: none;
  cursor: pointer;
  display: inline-block;
}
.btn-primary-raouf:hover { background: var(--navy-mid); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(146,170,210,.3); }

.btn-outline {
  background: transparent;
  color: var(--white);
  padding: .9rem 2.2rem;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(246,246,246,.3);
  transition: all .3s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ── HERO STATS ── */
.hero-stats {
  position: absolute; right: 3rem; bottom: 3rem;
  display: flex; gap: 3rem;
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem; font-weight: 700;
  color: var(--gold); display: block;
}
.stat-label {
  font-size: .7rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--grey);
}
.scroll-line {
  position: absolute; left: 49%; bottom: 2rem;
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  color: var(--grey); font-size: .65rem; letter-spacing: .15em; text-transform: uppercase;
}
.scroll-line::after {
  content: '';
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{ opacity:.4; transform: scaleY(1); } 50%{ opacity:1; transform: scaleY(1.2); } }

/* ── SECTION COMMONS ── */
section { padding: 6rem 3rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-tag {
  font-size: .72rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: .8rem;
  display: flex; align-items: center; gap: .8rem;
}
.section-tag::before { content:''; width:30px; height:1px; background:var(--gold); }

.section-tag-center {
  font-size: .72rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: .8rem; text-align: center;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700; color: var(--navy);
  line-height: 1.15; margin-bottom: 1.2rem;
}
.section-title-center {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700; color: var(--navy);
  line-height: 1.15; margin-bottom: 1.2rem; text-align: center;
}
.section-lead {
  font-size: .95rem; color: #798084;
  max-width: 580px; line-height: 1.8;
}
.section-lead-center {
  display: flex;
  align-items: center; /* vertically align photo and text */
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  flex: 1;
  text-align: left;
}

.founder-layout {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.founder-text {
    flex: 1;
}

.founder-text p {
    color: #798084;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: left;
}

/* .center-img {
    width: 300px;
    max-width: 300px;
    height: auto;
    margin: 0;
    flex-shrink: 0;
    border-radius: 4px;
    border: 2px solid rgba(146,170,210,.3);
} */

/* ── ABOUT / TIMELINE ── */
#about { background: var(--light-bg); }

#about-marque { background: #ffffff; }

.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center; margin-top: 3rem;
}
.timeline { list-style: none; padding: 0; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 0; top: 0;
  width: 1px; height: 100%;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
.timeline li {
  padding: .9rem 0 .9rem 2rem; position: relative;
  border-bottom: 1px solid rgba(19,51,55,.08);
}
.timeline li::before {
  content: ''; position: absolute;
  left: -4px; top: 50%; transform: translateY(-50%);
  width: 9px; height: 9px;
  background: var(--gold); border-radius: 50%;
}
.timeline li strong { display: block; font-size: .150rem; letter-spacing: .1em; color: var(--gold); margin-bottom: .2rem; }
.timeline li span { font-size: .88rem; color: #798084; line-height: 1.6; }

.about-image-wrap { position: relative; }
/* .about-image-wrap::before {
  content: ''; position: absolute;
  top: -1px; right: -1px;
  width: 50%; height: 50%;
  border: 2px solid var(--gold); z-index: 0;
} */
.about-image-wrap img {
  width: 50%; height: 50%; object-fit: cover;
  position: relative; z-index: 1;
  display: block;
  margin: 0 auto;
}
.about-image-placeholder {
  width: 100%; height: 420px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.about-image-placeholder svg { opacity: .15; }
.about-image-placeholder span {
  color: rgba(146,170,210,.5); font-size: .75rem;
  letter-spacing: .2em; text-transform: uppercase; margin-top: 1rem;
}

.center-img {
  max-width: 600px;
  max-height: 600px;
  border-radius: 4px;
  border: 2px solid rgba(146,170,210,.3);
  margin: 0; /* supprimer le centrage */
  flex-shrink: 0;
}
.center-img-signature {
  display: block;
  max-width: 180px;
  margin: 0 0 0 auto;
}

.ethique-link {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: 2rem; color: var(--gold);
  font-size: .8rem; font-weight: 600; letter-spacing: .15em;
  text-transform: uppercase; text-decoration: none;
  border-bottom: 1px solid var(--gold); padding-bottom: 3px;
  transition: opacity .2s;
}
.ethique-link:hover { opacity: .7; }

/* ── ACTIVITIES ── */
#activities { background: #F6F6F6; }
#activities .section-title { color: var(--navy); }
#activities .section-tag  { color: var(--gold); }
#activities .section-lead { color: var(--grey); }

.activities-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 3.5rem;
}
.activities-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px;
}

.activity-card {
  position: relative; overflow: hidden; height: 380px;
  cursor: pointer; text-decoration: none; display: block;
}
.activity-bg {
  position: absolute; inset: 0;
  transition: transform .6s cubic-bezier(.25,.46,.45,.94);
}
.activity-card:hover .activity-bg { transform: scale(1.06); }

.activity-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(19,51,55,.92) 0%, rgba(19,51,55,.3) 60%, transparent 100%);
  transition: background .4s;
}
.activity-card:hover .activity-overlay {
  background: linear-gradient(to top, rgba(19,51,55,.97) 0%, rgba(19,51,55,.6) 60%, rgba(19,51,55,.1) 100%);
}
.activity-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 2rem; z-index: 2;
}
.activity-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 700;
  color: rgba(146,170,210,.2);
  position: absolute; top: 1.5rem; right: 2rem; line-height: 1;
}
.activity-label {
  font-size: .7rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .4rem;
}
.activity-title {
  font-family: 'Roboto', serif;
  font-size: 1.8rem; font-weight: 700;
  color: var(--white); margin-bottom: .6rem; line-height: 1.2;
}
.activity-desc {
  font-size: .82rem; color: rgba(246,246,246,.65);
  line-height: 1.7; max-height: 0; overflow: hidden;
  transition: max-height .4s ease, opacity .4s; opacity: 0;
}
.activity-card:hover .activity-desc { max-height: 140px; opacity: 1; }
.activity-link {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1rem; font-size: .75rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); max-height: 0; overflow: hidden;
  transition: max-height .4s ease, opacity .4s; opacity: 0;
}
.activity-card:hover .activity-link { max-height: 40px; opacity: 1; }
.activity-link svg { transition: transform .3s; }
.activity-card:hover .activity-link svg { transform: translateX(4px); }

/* Activity background gradients */
.act-auto .activity-bg { background: linear-gradient(135deg, #142e34 0%, #0c1d20 100%); }
.act-immo .activity-bg { background: linear-gradient(135deg, #1e2a2a 0%, #112020 100%); }
.act-3a   .activity-bg { background: linear-gradient(135deg, #2a1a20 0%, #1d0e14 100%); }
.act-pc   .activity-bg { background: linear-gradient(135deg, #1a1a2a 0%, #0e1020 100%); }

/* ── PARTNERS ── */
#partners { background: var(--navy); padding: 5rem 3rem; }
#partners .section-title { color: var(--white); }

.partners-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 0; margin-top: 3rem;
  border: 1px solid rgba(146,170,210,.12);
}
.partner-cell {
  border: 1px solid rgba(146,170,210,.12);
  padding: 1.8rem 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(246,246,246,.35); text-align: center; transition: all .3s;
}
.partner-cell:hover { background: rgba(146,170,210,.06); color: var(--gold); }

/* ── CONTACT ── */
#contact { background: var(--light-bg); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 5rem; margin-top: 3rem;
}
.contact-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; color: var(--navy); margin-bottom: 2rem;
}
.info-block {
  margin-bottom: 2rem; padding-bottom: 2rem;
  border-bottom: 1px solid rgba(19,51,55,.1);
}
.info-block:last-child { border: none; }
.info-label {
  font-size: .7rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .6rem;
}
.info-value { font-size: .9rem; color: #495358; line-height: 1.8; }

.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label {
  font-size: .72rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--grey);
}
.form-group input,
.form-group textarea {
  background: var(--white); border: 1px solid rgba(19,51,55,.15);
  padding: .85rem 1rem; font-family: 'Outfit', sans-serif;
  font-size: .88rem; color: var(--text); transition: border-color .25s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 140px; }

/* ── FOOTER ── */
footer {
  background: var(--navy-mid);
  padding: 3rem;
  border-top: 1px solid rgba(146,170,210,.12);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  gap: 2rem;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 700;
  color: var(--gold); letter-spacing: .15em;
  display: flex; flex-direction: column; gap: .3rem;
}
.footer-logo span { font-family: 'Outfit', sans-serif; font-size: .72rem; font-weight: 400; color: rgba(246,246,246,.4); letter-spacing: .1em; }
.footer-links { display: flex; gap: 1.8rem; }
.footer-links a {
  color: rgba(246,246,246,.5); text-decoration: none;
  font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
  transition: color .25s;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy {
  font-size: .72rem; color: rgba(246,246,246,.3);
}
.footer-copy a { color: var(--gold); text-decoration: none; }
.footer-copy a:hover { text-decoration: underline; }

/* ── POPUP LOI 18-07 ── */
#law1807-overlay {
  position: fixed; inset: 0;
  background: rgba(19,51,55,.72);
  backdrop-filter: blur(6px);
  z-index: 9998; opacity: 0;
  transition: opacity .5s ease; pointer-events: none;
}
#law1807-overlay.show { opacity: 1; pointer-events: all; }

#law1807-popup {
  position: fixed; bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(30px);
  z-index: 9999;
  width: min(720px, calc(100vw - 2rem));
  background: var(--navy);
  border: 1px solid rgba(146,170,210,.35);
  box-shadow: 0 32px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(146,170,210,.08);
  opacity: 0; pointer-events: none;
  transition: opacity .5s ease, transform .5s cubic-bezier(.34,1.56,.64,1);
}
#law1807-popup.show {
  opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: all;
}

.popup-top-bar {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
}
.popup-body {
  padding: 1.8rem 2rem 1.6rem;
  display: grid; grid-template-columns: auto 1fr;
  gap: 1.4rem; align-items: start;
}
.popup-icon {
  width: 48px; height: 48px;
  background: rgba(146,170,210,.1);
  border: 1px solid rgba(146,170,210,.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: .1rem;
}
.popup-icon svg { color: var(--gold); }
.popup-badge {
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(146,170,210,.12);
  border: 1px solid rgba(146,170,210,.3);
  padding: .25rem .7rem; font-size: .65rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .8rem;
}
.popup-badge::before {
  content: ''; width: 6px; height: 6px;
  background: var(--gold); border-radius: 50%;
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }
.popup-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem; font-weight: 700;
  color: var(--white); margin-bottom: .55rem; line-height: 1.25;
}
.popup-title em { font-style: normal; color: var(--gold); }
.popup-desc {
  font-size: .82rem; color: var(--grey);
  line-height: 1.75; margin-bottom: 1.1rem;
}
.popup-desc strong { color: rgba(246,246,246,.75); font-weight: 500; }
.popup-rights {
  list-style: none; display: flex;
  flex-wrap: wrap; gap: .4rem .8rem;
  margin-bottom: 1.3rem;
}
.popup-rights li {
  font-size: .72rem; color: rgba(246,246,246,.55);
  display: flex; align-items: center; gap: .35rem;
}
.popup-rights li::before { content: '✓'; color: var(--gold); font-size: .65rem; }
.popup-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

.btn-accept {
  background: var(--gold); color: var(--navy); border: none;
  padding: .65rem 1.6rem; font-family: 'Outfit', sans-serif;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer; transition: all .25s;
}
.btn-accept:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-details {
  background: transparent; color: rgba(246,246,246,.55);
  border: 1px solid rgba(246,246,246,.15);
  padding: .65rem 1.4rem; font-family: 'Outfit', sans-serif;
  font-size: .78rem; font-weight: 400; letter-spacing: .06em;
  cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: .4rem;
  transition: all .25s;
}
.btn-details:hover { border-color: var(--gold); color: var(--gold); }

.popup-close {
  position: absolute; top: .9rem; right: 1rem;
  background: none; border: none;
  color: rgba(246,246,246,.3); font-size: 1.2rem;
  cursor: pointer; line-height: 1; transition: color .2s; padding: .2rem .4rem;
}
.popup-close:hover { color: var(--white); }

.popup-footer-note {
  padding: .75rem 2rem;
  background: rgba(0,0,0,.2);
  border-top: 1px solid rgba(146,170,210,.1);
  font-size: .68rem; color: rgba(246,246,246,.28);
  display: flex; align-items: center; gap: .5rem;
}
.popup-footer-note svg { flex-shrink: 0; opacity: .5; }

#law1807-details {
  display: none;
  background: rgba(255,255,255,.03);
  border-top: 1px solid rgba(146,170,210,.12);
  padding: 1.4rem 2rem;
}
#law1807-details.open { display: block; }

.details-title {
  font-size: .72rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .8rem;
}
.details-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1.5rem;
}
.detail-item { display: flex; flex-direction: column; gap: .2rem; }
.detail-item dt {
  font-size: .7rem; font-weight: 600;
  color: rgba(246,246,246,.5); text-transform: uppercase; letter-spacing: .1em;
}
.detail-item dd { font-size: .8rem; color: rgba(246,246,246,.65); line-height: 1.5; }

/* ── FADE-IN ANIMATION ── */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav, .social-bar { display: none; }
  .hamburger { display: flex; }
  .hero-stats { display: none; }
  .hero-content{display: flex;}
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .activities-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 600px) {
  section { padding: 4rem 1.5rem; }
  header { padding: 0 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .popup-body { grid-template-columns: 1fr; gap: .8rem; padding: 1.4rem 1.2rem 1.2rem; }
  .popup-icon { display: none; }
  .popup-footer-note { padding: .65rem 1.2rem; }
  .popup-actions { flex-direction: column; }
  .btn-accept, .btn-details { justify-content: center; }
  .details-grid { grid-template-columns: 1fr; }
  #law1807-details { padding: 1rem 1.2rem; }
}
