/* ============================================================
   JARDINNATURELLE.SITE — Morocco Garden Heritage Guide
   Palette: Terracotta #B84432 | Morocco Blue #1A5276 |
            Saffron #D4AC0D | Oasis Green #1E8449 |
            Parchment #F7F0E3 | Deep Umber #2C1810
   Font: Georgia serif headings | system sans body
   ============================================================ */

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: #FDFAF5;
  color: #2C1810;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: #B84432; text-decoration: none; }
a:hover { text-decoration: underline; }

/* CONTAINER */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── NOTICE BAR ─────────────────────────────────────────── */
.notice-bar {
  background: #2C1810;
  color: #F7F0E3;
  font-size: 0.8rem;
  text-align: center;
  padding: 9px 48px;
  position: relative;
  letter-spacing: 0.03em;
}
.notice-bar strong { color: #D4AC0D; }
.notice-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #F7F0E3;
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  padding: 2px 6px;
}

/* ─── HEADER ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #F7F0E3;
  border-bottom: 2px solid #D4AC0D;
  transition: box-shadow 0.25s;
}
.site-header.scrolled { box-shadow: 0 4px 18px rgba(44,24,16,0.14); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #2C1810;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.logo span { color: #B84432; }
.main-nav { display: flex; gap: 28px; align-items: center; }
.main-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: #2C1810;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover,
.main-nav a.active { color: #B84432; border-bottom-color: #B84432; }
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #2C1810;
  transition: background 0.2s;
}
.mobile-toggle:hover span { background: #B84432; }

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(150deg, #2C1810 0%, #4a2518 40%, #1A5276 100%);
  padding: 110px 0 80px;
  color: #F7F0E3;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(212,172,13,0.04) 0px,
    rgba(212,172,13,0.04) 1px,
    transparent 1px,
    transparent 28px
  );
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 52px;
  align-items: center;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,172,13,0.18);
  border: 1px solid rgba(212,172,13,0.5);
  color: #D4AC0D;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 24px;
}
.hero-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 20px;
  color: #F7F0E3;
}
.hero-title em {
  font-style: normal;
  color: #D4AC0D;
}
.hero-sub {
  font-size: 1.08rem;
  color: rgba(247,240,227,0.82);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-cta {
  display: inline-block;
  background: #B84432;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 36px;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.25s;
}
.hero-cta:hover { background: #8f3325; text-decoration: none; }
.hero-alert {
  background: rgba(184,68,50,0.22);
  border-left: 3px solid #B84432;
  color: rgba(247,240,227,0.9);
  font-size: 0.82rem;
  padding: 10px 16px;
  margin-top: 20px;
  border-radius: 0 3px 3px 0;
  max-width: 520px;
}
/* Hero panel */
.hero-panel {
  background: rgba(247,240,227,0.08);
  border: 1px solid rgba(212,172,13,0.25);
  border-radius: 6px;
  padding: 28px 24px;
  backdrop-filter: blur(4px);
}
.hero-panel h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #D4AC0D;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(212,172,13,0.25);
  padding-bottom: 10px;
}
.hero-fact {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(247,240,227,0.1);
  font-size: 0.88rem;
}
.hero-fact:last-child { border-bottom: none; }
.hf-label { color: rgba(247,240,227,0.65); }
.hf-val { font-weight: 700; color: #F7F0E3; }
.hf-val.accent { color: #D4AC0D; }

/* ─── SECTIONS ───────────────────────────────────────────── */
.section { padding: 90px 0; }
.section--parchment { background: #F7F0E3; }
.section--white     { background: #FDFAF5; }
.section--umber     { background: #2C1810; color: #F7F0E3; }
.section--blue      { background: #1A5276; color: #F7F0E3; }
.section--saffron   { background: #D4AC0D; color: #2C1810; }
.section--green     { background: #1E8449; color: #F7F0E3; }
.section--warm      { background: #f5e8d4; }

/* Section header */
.section-header { text-align: center; margin-bottom: 56px; }
.overline {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #B84432;
  margin-bottom: 14px;
}
.section--umber .overline,
.section--blue .overline  { color: #D4AC0D; }
.section--saffron .overline { color: #2C1810; }
.section--green .overline  { color: #D4AC0D; }
.section-header h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #2C1810;
  margin-bottom: 14px;
  line-height: 1.25;
}
.section--umber h2,
.section--blue h2,
.section--green h2 { color: #F7F0E3; }
.section--saffron h2 { color: #2C1810; }
.section-header p {
  font-size: 1.02rem;
  color: #5a3d2b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.75;
}
.section--umber p,
.section--blue p,
.section--green p { color: rgba(247,240,227,0.78); }
.sh-line {
  width: 52px;
  height: 3px;
  background: #B84432;
  margin: 16px auto 0;
  border-radius: 2px;
}
.section--umber .sh-line,
.section--blue .sh-line,
.section--green .sh-line { background: #D4AC0D; }

/* ─── HERITAGE GRID ──────────────────────────────────────── */
.heritage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.hg-card {
  background: #FDFAF5;
  border: 1px solid #e0d5c0;
  border-radius: 6px;
  padding: 32px 28px;
  border-top: 4px solid #B84432;
  transition: box-shadow 0.25s;
}
.hg-card:hover { box-shadow: 0 8px 28px rgba(44,24,16,0.12); }
.hg-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #F7F0E3;
  border: 2px solid #D4AC0D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.hg-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: #2C1810;
  margin-bottom: 10px;
}
.hg-card p { font-size: 0.9rem; color: #5a3d2b; line-height: 1.7; }

/* ─── MAJORELLE SECTION ──────────────────────────────────── */
.majorelle-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}
.maj-info h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  color: #2C1810;
  margin: 28px 0 10px;
}
.maj-info h3:first-child { margin-top: 0; }
.maj-info p { font-size: 0.95rem; color: #5a3d2b; line-height: 1.78; margin-bottom: 10px; }
.ticket-strip {
  background: #F7F0E3;
  border: 1px solid #e0d5c0;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 16px;
}
.ts-head {
  background: #B84432;
  color: #fff;
  padding: 10px 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ts-price {
  background: rgba(255,255,255,0.2);
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.9rem;
}
.ts-list { padding: 12px 18px; }
.ts-list li {
  font-size: 0.88rem;
  color: #5a3d2b;
  line-height: 1.65;
  padding: 5px 0;
  border-bottom: 1px dashed #d0c5a8;
  list-style: none;
  display: flex;
  gap: 8px;
}
.ts-list li:last-child { border-bottom: none; }
.ts-list li::before { content: "—"; color: #B84432; flex-shrink: 0; }
.not-official-panel {
  background: #2C1810;
  border-radius: 6px;
  padding: 20px;
  color: #F7F0E3;
  margin-top: 20px;
}
.not-official-panel strong {
  display: block;
  color: #D4AC0D;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.not-official-panel p { font-size: 0.84rem; color: rgba(247,240,227,0.8); line-height: 1.65; margin: 0; }

/* ─── CULTURE GRID ───────────────────────────────────────── */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cu-card {
  border-radius: 6px;
  overflow: hidden;
  background: rgba(247,240,227,0.12);
  border: 1px solid rgba(212,172,13,0.2);
  transition: border-color 0.25s;
}
.cu-card:hover { border-color: rgba(212,172,13,0.6); }
.cu-stripe {
  height: 6px;
  background: #D4AC0D;
}
.cu-card:nth-child(2) .cu-stripe { background: #B84432; }
.cu-card:nth-child(3) .cu-stripe { background: #1E8449; }
.cu-body { padding: 24px; }
.cu-body h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #F7F0E3;
  margin-bottom: 10px;
}
.cu-body p { font-size: 0.88rem; color: rgba(247,240,227,0.72); line-height: 1.7; }

/* ─── GARDENS GRID ───────────────────────────────────────── */
.gardens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.gd-card {
  background: #FDFAF5;
  border: 1px solid #e0d5c0;
  border-radius: 6px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.25s;
}
.gd-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #1A5276;
}
.gd-card:nth-child(2)::before { background: #B84432; }
.gd-card:nth-child(3)::before { background: #1E8449; }
.gd-card:nth-child(4)::before { background: #D4AC0D; }
.gd-card:hover { box-shadow: 0 6px 22px rgba(44,24,16,0.1); }
.gd-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1A5276;
  margin-bottom: 10px;
}
.gd-card:nth-child(2) .gd-badge { color: #B84432; }
.gd-card:nth-child(3) .gd-badge { color: #1E8449; }
.gd-card:nth-child(4) .gd-badge { color: #8a6d00; }
.gd-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: #2C1810;
  margin-bottom: 10px;
}
.gd-desc { font-size: 0.88rem; color: #5a3d2b; line-height: 1.7; }

/* ─── PLANNING LAYOUT ────────────────────────────────────── */
.planning-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.plan-tips h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  color: #2C1810;
  margin-bottom: 20px;
}
.tip-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0d5c0;
}
.tip-item:last-child { border-bottom: none; }
.ti-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #B84432;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ti-body h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #2C1810;
  margin-bottom: 5px;
}
.ti-body p { font-size: 0.88rem; color: #5a3d2b; line-height: 1.65; }
.plan-calendar h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  color: #2C1810;
  margin-bottom: 20px;
}
.cal-table {
  width: 100%;
  border-collapse: collapse;
}
.cal-table thead th {
  background: #2C1810;
  color: #D4AC0D;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 14px;
  text-align: left;
}
.cal-table tbody tr:nth-child(even) { background: #F7F0E3; }
.cal-table tbody tr:nth-child(odd)  { background: #FDFAF5; }
.cal-table tbody td {
  padding: 10px 14px;
  font-size: 0.88rem;
  color: #5a3d2b;
  border-bottom: 1px solid #e0d5c0;
  vertical-align: middle;
}
.cal-table tbody td:first-child { font-weight: 700; color: #2C1810; }
.rating-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e0d5c0;
  margin-right: 3px;
}
.rating-dot.filled { background: #1E8449; }

/* ─── RESOURCES ──────────────────────────────────────────── */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.rs-card {
  background: rgba(247,240,227,0.1);
  border: 1px solid rgba(212,172,13,0.25);
  border-radius: 6px;
  padding: 28px 24px;
}
.rs-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  color: #F7F0E3;
  margin-bottom: 10px;
}
.rs-card p { font-size: 0.88rem; color: rgba(247,240,227,0.7); line-height: 1.7; }

/* ─── LEGAL & AGB ────────────────────────────────────────── */
.legal-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.leg-item {
  background: #F7F0E3;
  border: 1px solid #e0d5c0;
  border-left: 4px solid #1A5276;
  border-radius: 0 6px 6px 0;
  padding: 20px;
}
.leg-item h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1A5276;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.leg-item p { font-size: 0.86rem; color: #5a3d2b; line-height: 1.65; }
.agb-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.agb-item {
  background: rgba(247,240,227,0.08);
  border: 1px solid rgba(212,172,13,0.2);
  border-radius: 6px;
  padding: 20px;
}
.agb-item h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #D4AC0D;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.agb-item p { font-size: 0.86rem; color: rgba(247,240,227,0.72); line-height: 1.65; }

/* ─── CONTACT ────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: start;
}
.contact-info h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  color: #2C1810;
  margin-bottom: 20px;
}
.ci-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.ci-icon {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: #B84432;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.ci-body label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #B84432;
  margin-bottom: 3px;
}
.ci-body span { font-size: 0.9rem; color: #5a3d2b; line-height: 1.55; display: block; }
.contact-form h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  color: #2C1810;
  margin-bottom: 8px;
}
.contact-form p {
  font-size: 0.9rem;
  color: #5a3d2b;
  margin-bottom: 24px;
  line-height: 1.6;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #5a3d2b;
}
.form-group input,
.form-group textarea {
  padding: 12px 14px;
  border: 1px solid #c8b89a;
  border-radius: 4px;
  font-size: 0.92rem;
  font-family: inherit;
  background: #FDFAF5;
  color: #2C1810;
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: #B84432; }
.form-group textarea { resize: vertical; min-height: 110px; }
.btn-submit {
  background: #B84432;
  color: #fff;
  border: none;
  padding: 14px 40px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.25s;
}
.btn-submit:hover { background: #8f3325; }
.form-note {
  font-size: 0.78rem;
  color: #8a7060;
  margin-top: 10px;
  line-height: 1.55;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: #2C1810;
  color: #F7F0E3;
  padding: 64px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 280px repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
}
.footer-logo {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #F7F0E3;
  margin-bottom: 14px;
}
.footer-logo span { color: #B84432; }
.footer-brand p {
  font-size: 0.84rem;
  color: rgba(247,240,227,0.62);
  line-height: 1.7;
}
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #D4AC0D;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(212,172,13,0.2);
}
.footer-col a {
  display: block;
  font-size: 0.86rem;
  color: rgba(247,240,227,0.65);
  text-decoration: none;
  padding: 5px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: #D4AC0D; }
.footer-bottom {
  border-top: 1px solid rgba(247,240,227,0.1);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-copy { font-size: 0.82rem; color: rgba(247,240,227,0.5); }
.footer-disc {
  font-size: 0.78rem;
  color: rgba(247,240,227,0.38);
  max-width: 520px;
  text-align: right;
}

/* ─── SCROLL REVEAL (NO opacity) ────────────────────────── */
.reveal {
  transform: translateY(38px);
  transition: transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.reveal.revealed { transform: translateY(0); }

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { display: none; }
  .majorelle-layout { grid-template-columns: 1fr; }
  .culture-grid { grid-template-columns: 1fr; }
  .planning-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #F7F0E3;
    border-top: 2px solid #D4AC0D;
    padding: 16px 24px;
    gap: 14px;
    z-index: 800;
    box-shadow: 0 6px 20px rgba(44,24,16,0.15);
  }
  .mobile-toggle { display: flex; }
  .hero { padding: 80px 0 56px; }
  .section { padding: 60px 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-disc { text-align: center; max-width: 100%; }
}
