/* =========================================
   JARDINPASARELLE.SITE — Morocco Cultural Landmarks
   Palette: Cobalt Blue | Terracotta | Sand | Gold | Dark
   No CSS frameworks. No opacity:0.
   ========================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --cobalt:       #003D7A;
    --cobalt-mid:   #1B5FA8;
    --cobalt-light: #2B72C8;
    --terracotta:   #C4622D;
    --terra-dark:   #9E4A1E;
    --sand:         #F5EDD8;
    --cream:        #FAF5EC;
    --dark:         #18110A;
    --gold:         #D4A843;
    --text:         #2A1F0F;
    --text-light:   #5C4A2A;
    --border:       #DDD0B0;
    --white:        #FFFFFF;
    --nav-h:        68px;
    --radius:       6px;
    --shadow:       0 4px 20px rgba(26,18,8,0.09);
    --shadow-lg:    0 12px 40px rgba(26,18,8,0.15);
    --transition:   0.28s ease;
}

/* ── BASE ── */
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: Georgia, 'Times New Roman', serif; background: var(--cream); color: var(--text); line-height: 1.72; }
h1, h2, h3, h4, button, label, .nav-brand { font-family: Arial, Helvetica, sans-serif; }
h1 { font-size: clamp(2rem, 5.5vw, 3.6rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.18; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; line-height: 1.25; }
h3 { font-size: clamp(1.05rem, 2vw, 1.35rem); font-weight: 600; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin-bottom: 1rem; }
a { color: var(--cobalt); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--terracotta); text-decoration: underline; }
ul { list-style: none; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── NAVIGATION ── */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
         background: var(--cobalt); box-shadow: 0 2px 14px rgba(0,0,0,0.28); }
.navbar { display: flex; align-items: center; justify-content: space-between;
          height: var(--nav-h); max-width: 1160px; margin: 0 auto; padding: 0 24px; gap: 16px; }
.nav-brand { font-weight: 700; font-size: 1rem; color: var(--gold); letter-spacing: 0.03em; white-space: nowrap; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { font-size: 0.88rem; font-weight: 500; color: rgba(255,255,255,0.82);
               padding: 8px 13px; border-radius: var(--radius);
               transition: color var(--transition), background-color var(--transition); }
.nav-links a:hover { color: var(--gold); background-color: rgba(255,255,255,0.1); text-decoration: none; }
.nav-toggle { display: none; flex-direction: column; gap: 5px;
              background: none; border: none; cursor: pointer; padding: 8px 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px;
                   background: var(--white); border-radius: 2px; }

/* ── HERO ── */
.hero { min-height: 100vh; background: linear-gradient(140deg, var(--cobalt) 0%, #00264F 55%, #130D06 100%);
        position: relative; overflow: hidden; display: flex; align-items: center;
        padding-top: var(--nav-h); }

.hero-geo { position: absolute; inset: 0; pointer-events: none;
            background-image:
              linear-gradient(60deg, rgba(212,168,67,0.05) 25%, transparent 25%),
              linear-gradient(-60deg, rgba(212,168,67,0.05) 25%, transparent 25%),
              linear-gradient(60deg, transparent 75%, rgba(212,168,67,0.05) 75%),
              linear-gradient(-60deg, transparent 75%, rgba(212,168,67,0.05) 75%);
            background-size: 80px 80px; }

.hero::before { content: ''; position: absolute; top: -140px; right: -100px;
                width: 680px; height: 680px;
                background: radial-gradient(circle, rgba(196,98,45,0.20) 0%, transparent 65%);
                border-radius: 50%; }
.hero::after  { content: ''; position: absolute; bottom: -100px; left: 8%;
                width: 520px; height: 520px;
                border: 1px solid rgba(212,168,67,0.14); border-radius: 50%; }

.hero-inner { position: relative; z-index: 2; max-width: 780px; padding: 80px 24px; margin: 0 auto; }
.hero-badge { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em;
              text-transform: uppercase; color: var(--gold); border: 1px solid rgba(212,168,67,0.55);
              padding: 6px 18px; border-radius: 40px; margin-bottom: 26px; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,0.78); max-width: 600px; margin-bottom: 38px; }
.btn-primary { display: inline-block; font-size: 0.95rem; font-weight: 700; letter-spacing: 0.04em;
               color: var(--dark); background: var(--gold); padding: 14px 34px; border-radius: 4px;
               transition: background-color var(--transition), color var(--transition); }
.btn-primary:hover { background: var(--terracotta); color: var(--white); text-decoration: none; }

/* ── SECTION BASE ── */
.section-block { padding: 88px 0; }
.alt-bg { background: var(--sand); }
.section-eyebrow { font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
                   letter-spacing: 0.16em; color: var(--terracotta); margin-bottom: 10px; }
.section-title { color: var(--dark); margin-bottom: 14px; }
.section-title span { border-bottom: 3px solid var(--gold); padding-bottom: 4px; }
.section-lead { font-size: 1.08rem; color: var(--text-light); max-width: 800px; margin-bottom: 44px; line-height: 1.78; }

/* ── GRID LAYOUTS ── */
.two-col   { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.four-col  { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.auto-col  { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }

/* ── CARDS ── */
.card { background: var(--white); border-radius: var(--radius); padding: 28px 24px;
        box-shadow: var(--shadow); border-top: 3px solid var(--cobalt);
        transition: box-shadow var(--transition); }
.card:hover { box-shadow: var(--shadow-lg); }
.card.tc { border-top-color: var(--terracotta); }
.card.gd { border-top-color: var(--gold); }
.card h3 { color: var(--cobalt); margin-bottom: 12px; }
.card.tc h3 { color: var(--terracotta); }
.card.gd h3 { color: var(--dark); }
.card p, .card li { color: var(--text-light); font-size: 0.93rem; }
.card ul { padding-left: 1.1em; list-style: disc; display: grid; gap: 6px; }

/* ── INFO BOX ── */
.info-box { background: var(--cobalt); color: var(--white);
            border-radius: var(--radius); padding: 32px 36px; margin: 40px 0; }
.info-box h3 { color: var(--gold); margin-bottom: 18px; }
.info-box p { color: rgba(255,255,255,0.82); margin-bottom: 0.7rem; font-size: 0.95rem; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 20px; margin-top: 20px; }
.info-item { border-left: 3px solid var(--gold); padding-left: 14px; }
.info-item strong { display: block; font-size: 0.72rem; text-transform: uppercase;
                    letter-spacing: 0.12em; color: var(--gold); margin-bottom: 4px; }
.info-item span { font-size: 0.92rem; color: rgba(255,255,255,0.82); }

/* ── HIGHLIGHT STRIP ── */
.highlight { border-left: 4px solid var(--terracotta); background: rgba(196,98,45,0.07);
             padding: 22px 28px; border-radius: 0 var(--radius) var(--radius) 0; margin: 28px 0; }
.highlight h4 { color: var(--terracotta); margin-bottom: 8px; }
.highlight p  { color: var(--text); font-size: 0.94rem; margin-bottom: 0; }

/* ── NUMBERED LANDMARK LIST ── */
.landmark-list { display: grid; gap: 16px; }
.lm-item { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px;
            background: var(--white); border-radius: var(--radius);
            box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
.lm-num { flex-shrink: 0; width: 42px; height: 42px; background: var(--cobalt);
           color: var(--white); border-radius: 50%;
           display: flex; align-items: center; justify-content: center;
           font-weight: 700; font-size: 0.9rem; }
.lm-body h4 { color: var(--dark); margin-bottom: 6px; }
.lm-body p  { color: var(--text-light); font-size: 0.9rem; margin-bottom: 0; }

/* ── TIP CARDS ── */
.tip-card { background: var(--white); border-radius: var(--radius); padding: 26px 22px;
            box-shadow: var(--shadow); }
.tip-label { display: inline-block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
             letter-spacing: 0.14em; color: var(--white); background: var(--cobalt);
             padding: 4px 10px; border-radius: 3px; margin-bottom: 14px; }
.tip-card h4 { color: var(--dark); margin-bottom: 8px; }
.tip-card p  { color: var(--text-light); font-size: 0.9rem; margin-bottom: 0; }

/* ── GETTING THERE TABLE ── */
.route-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.route-table th { background: var(--cobalt); color: var(--white); text-align: left;
                  padding: 12px 16px; font-size: 0.78rem; text-transform: uppercase;
                  letter-spacing: 0.1em; }
.route-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text-light); }
.route-table tr:nth-child(even) td { background: var(--sand); }
.route-table strong { color: var(--text); }

/* ── FAQ ── */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--white); border-radius: var(--radius);
            box-shadow: 0 2px 8px rgba(0,0,0,0.06); overflow: hidden; }
.faq-q { width: 100%; text-align: left; padding: 18px 22px; background: none; border: none;
          cursor: pointer; font-family: Georgia, serif; font-size: 0.97rem; font-weight: 600;
          color: var(--dark); display: flex; justify-content: space-between;
          align-items: center; gap: 16px;
          transition: color var(--transition), background-color var(--transition); }
.faq-q:hover { color: var(--cobalt); background-color: rgba(0,61,122,0.04); }
.faq-arrow { width: 18px; height: 18px; flex-shrink: 0;
             border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
             transform: rotate(45deg); transition: transform var(--transition); }
.faq-item.open .faq-q .faq-arrow { transform: rotate(-135deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a-inner { padding: 0 22px 18px; color: var(--text-light); font-size: 0.94rem; }

/* ── RESOURCES ── */
.res-block { background: var(--white); border-radius: var(--radius); padding: 28px 24px;
             box-shadow: var(--shadow); }
.res-block h3 { color: var(--cobalt); margin-bottom: 16px; font-size: 1.05rem;
                padding-bottom: 10px; border-bottom: 2px solid var(--sand); }
.res-block li a { color: var(--text); font-size: 0.88rem; display: block; padding: 7px 0 7px 12px;
                  border-left: 2px solid transparent;
                  transition: color var(--transition), border-color var(--transition); }
.res-block li a:hover { color: var(--cobalt); border-left-color: var(--cobalt); text-decoration: none; }

/* ── LEGAL & AGB BLOCKS ── */
.legal-wrap, .agb-wrap { max-width: 860px; }
.legal-card { background: var(--white); border-radius: var(--radius);
              padding: 40px 44px; box-shadow: var(--shadow); margin-bottom: 32px; }
.legal-card h2 { color: var(--cobalt); margin-bottom: 20px; font-size: 1.5rem; }
.legal-card h3 { color: var(--dark); margin: 24px 0 10px; font-size: 1.05rem; }
.legal-card p  { color: var(--text-light); font-size: 0.93rem; }
.legal-card ul { padding-left: 1.2em; list-style: disc; color: var(--text-light);
                 font-size: 0.93rem; display: grid; gap: 6px; }

/* ── CONTACT FORM ── */
.contact-section { background: var(--cobalt); padding: 90px 0; text-align: center; }
.contact-section h2 { color: var(--white); margin-bottom: 12px; }
.contact-lead { color: rgba(255,255,255,0.72); font-size: 1.05rem; max-width: 520px;
                margin: 0 auto 40px; }
.form-card { max-width: 600px; margin: 0 auto; background: var(--white);
             border-radius: var(--radius); padding: 42px 40px; box-shadow: var(--shadow-lg);
             text-align: left; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; margin-bottom: 20px; }
.form-group label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
                    letter-spacing: 0.12em; color: var(--cobalt); margin-bottom: 7px; }
.form-group input { border: 1px solid var(--border); border-radius: var(--radius);
                    padding: 12px 15px; font-family: Georgia, serif; font-size: 0.94rem;
                    color: var(--text); background: var(--cream);
                    transition: border-color var(--transition); outline: none; }
.form-group input:focus { border-color: var(--cobalt); }
.form-submit { width: 100%; padding: 14px; background: var(--terracotta); color: var(--white);
               border: none; border-radius: var(--radius); font-size: 1rem; font-weight: 700;
               cursor: pointer; letter-spacing: 0.05em;
               transition: background-color var(--transition); }
.form-submit:hover { background: var(--cobalt); }
.form-success { display: none; padding: 24px 0 8px; text-align: center; }
.form-success p { color: var(--cobalt); font-weight: 600; font-size: 1.05rem; }

/* ── FOOTER ── */
footer { background: var(--dark); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
               gap: 40px; padding-bottom: 48px; }
.footer-col h4 { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.16em;
                 color: var(--gold); margin-bottom: 16px; }
.footer-col li a { font-size: 0.86rem; color: rgba(255,255,255,0.56);
                   display: block; padding: 4px 0;
                   transition: color var(--transition); }
.footer-col li a:hover { color: var(--gold); text-decoration: none; }
.footer-contact p { font-size: 0.86rem; color: rgba(255,255,255,0.56); margin-bottom: 7px; }
.footer-contact a { color: rgba(255,255,255,0.56); transition: color var(--transition); }
.footer-contact a:hover { color: var(--gold); }
.footer-bar { border-top: 1px solid rgba(255,255,255,0.09); padding: 22px 0; }
.footer-bar p { text-align: center; font-size: 0.78rem; color: rgba(255,255,255,0.36);
                font-family: Arial, sans-serif; }

/* ── SCROLL REVEAL (no opacity:0) ── */
.reveal   { transform: translateY(32px); transition: transform 0.62s ease; }
.reveal.active { transform: translateY(0); }
.reveal-b { transform: translateY(32px); transition: transform 0.62s ease 0.14s; }
.reveal-b.active { transform: translateY(0); }
.reveal-c { transform: translateY(32px); transition: transform 0.62s ease 0.28s; }
.reveal-c.active { transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .nav-links { display: none; flex-direction: column; gap: 4px;
                 position: fixed; top: var(--nav-h); left: 0; right: 0;
                 background: var(--cobalt); padding: 16px 20px 24px;
                 box-shadow: 0 8px 28px rgba(0,0,0,0.35); }
    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }
    .two-col, .three-col, .four-col { grid-template-columns: 1fr; }
    .form-row-2 { grid-template-columns: 1fr; }
    .hero-inner { padding: 56px 24px; }
}
@media (max-width: 600px) {
    .section-block { padding: 64px 0; }
    .contact-section { padding: 64px 0; }
    .legal-card { padding: 24px 20px; }
    .form-card { padding: 28px 20px; }
    .info-box { padding: 24px 20px; }
    .lm-item { flex-direction: column; gap: 12px; }
}
