/*
 Theme Name:   Eden Destination Child
 Theme URI:    https://edendestination.com
 Description:  Thème enfant Eden Destination — Immigration Canada, Visa Schengen, Billets Avion. Basé sur Twenty Twenty-Four.
 Author:       Eden Destination
 Author URI:   https://edendestination.com
 Template:     twentytwentyfour
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  eden-destination-child
 Tags:         immigration, visa, canada, schengen, voyage
*/

/* =====================================================
   EDEN DESTINATION — CHILD THEME CSS COMPLET
   Couleurs : Rouge #e8192c + Bleu Navy #0d2251
   ===================================================== */

/* VARIABLES */
:root {
  --ed-navy:       #0d2251;
  --ed-navy-mid:   #163580;
  --ed-navy-light: #1e4db7;
  --ed-red:        #e8192c;
  --ed-red-bright: #ff3347;
  --ed-red-deep:   #b50e1f;
  --ed-red-pale:   #fff0f2;
  --ed-red-soft:   #ffb3bb;
  --ed-cream:      #f4f7ff;
  --ed-white:      #ffffff;
  --ed-gray-light: #eef1fa;
  --ed-gray-text:  #5a6480;
  --ed-shadow-red: 0 8px 48px rgba(232,25,44,.22);
  --ed-shadow-blue:0 8px 48px rgba(30,77,183,.18);
}

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: 'DM Sans', 'Segoe UI', sans-serif;
  background: var(--ed-cream);
  color: #0d1630;
  margin: 0;
  overflow-x: hidden;
}

/* GOOGLE FONTS — chargées via functions.php */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

/* ── NAVIGATION ──────────────────────────────── */
#site-header,
.wp-block-template-part[class*="header"],
header.site-header {
  position: fixed !important;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13,34,81,.97) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232,25,44,.3);
  height: 76px;
  display: flex;
  align-items: center;
  padding: 0 5%;
  transition: height .3s, box-shadow .3s;
}

/* Logo texte */
.site-title, .wp-block-site-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  color: #fff !important;
  text-decoration: none !important;
}
.site-description, .wp-block-site-tagline {
  font-size: 10px !important;
  color: var(--ed-red-bright) !important;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

/* Menu nav */
.wp-block-navigation a,
nav .menu a,
.nav-menu a {
  font-size: 13px !important;
  color: rgba(255,255,255,.75) !important;
  text-decoration: none !important;
  letter-spacing: .3px;
  transition: color .2s;
  position: relative;
  padding: 4px 0;
}
.wp-block-navigation a:hover,
nav .menu a:hover {
  color: var(--ed-red-soft) !important;
}

/* Bouton CTA nav */
.wp-block-navigation .nav-cta a,
.menu-item-cta a,
.wp-block-buttons .wp-block-button__link {
  background: linear-gradient(135deg, var(--ed-red), var(--ed-red-bright)) !important;
  color: #fff !important;
  padding: 9px 18px !important;
  border-radius: 6px !important;
  font-weight: 500 !important;
}

/* ── BODY LAYOUT ─────────────────────────────── */
.wp-site-blocks,
#page,
.site {
  padding-top: 76px; /* compenser le header fixe */
}

/* ── HERO SECTION ────────────────────────────── */
.ed-hero,
.wp-block-cover.is-style-hero,
section.hero {
  min-height: 100vh !important;
  background: linear-gradient(135deg, #0d2251 0%, #163580 55%, #1e4db7 100%) !important;
  display: flex !important;
  align-items: center !important;
  position: relative !important;
  overflow: hidden !important;
}

/* ── TITRES & TYPOGRAPHIE ────────────────────── */
h1, h2, h3,
.wp-block-heading,
.entry-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-weight: 400;
  line-height: 1.1;
}
h1 { font-size: clamp(42px, 6vw, 80px) !important; }
h2 { font-size: clamp(32px, 4vw, 52px) !important; }
h3 { font-size: clamp(20px, 2.5vw, 28px) !important; }
p, li, label, input, textarea, select {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ed-gray-text);
}

/* ── BOUTONS ─────────────────────────────────── */
.wp-block-button__link,
.wp-element-button,
button[type="submit"],
.ed-btn-primary {
  background: linear-gradient(135deg, #e8192c, #ff4d5e) !important;
  color: #fff !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  padding: 14px 30px !important;
  border-radius: 8px !important;
  border: none !important;
  cursor: pointer !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  transition: all .3s !important;
}
.wp-block-button__link:hover,
.ed-btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 30px rgba(232,25,44,.4) !important;
}

/* Bouton ghost */
.ed-btn-ghost,
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,.25) !important;
  color: rgba(255,255,255,.85) !important;
}
.ed-btn-ghost:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  border-color: var(--ed-red-bright) !important;
  color: var(--ed-red-soft) !important;
  background: rgba(232,25,44,.08) !important;
}

/* ── SECTIONS / PAGES ────────────────────────── */
.wp-block-group,
.entry-content section,
.ed-section {
  padding: 100px 5%;
}

/* Alternance fond */
.ed-section-white { background: #fff; }
.ed-section-cream { background: var(--ed-cream); }
.ed-section-navy  { background: linear-gradient(135deg, #0d2251, #1e4db7); color: #fff; }
.ed-section-red   { background: linear-gradient(135deg, #e8192c, #8f0d1e); color: #fff; }

/* ── CARDS SERVICES ──────────────────────────── */
.ed-card,
.wp-block-group.is-style-card {
  background: #fff;
  border: 1px solid rgba(30,77,183,.12);
  border-radius: 20px;
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: all .4s;
  text-decoration: none;
  color: inherit;
}
.ed-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ed-red-deep), var(--ed-red-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s;
}
.ed-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ed-shadow-red);
  border-color: rgba(232,25,44,.3);
}
.ed-card:hover::before { transform: scaleX(1); }

/* Card featured (Résidence Permanente) */
.ed-card-featured {
  background: linear-gradient(145deg, #0d2251, #1e4db7) !important;
  border: 2px solid rgba(232,25,44,.3) !important;
  color: #fff !important;
}
.ed-card-featured h3 { color: #fff !important; }
.ed-card-featured p  { color: rgba(255,255,255,.6) !important; }

/* ── VISA INFO BOX ───────────────────────────── */
.ed-info-box {
  background: #f0f5ff;
  border: 1px solid rgba(30,77,183,.15);
  border-left: 3px solid var(--ed-red);
  border-radius: 10px;
  padding: 17px 19px;
  margin-bottom: 13px;
}
.ed-info-box h4 { font-size: 14px !important; font-weight: 500 !important; color: var(--ed-navy) !important; margin-bottom: 4px !important; font-family: 'DM Sans', sans-serif !important; }
.ed-info-box p  { font-size: 13px !important; line-height: 1.65 !important; color: var(--ed-gray-text) !important; margin: 0 !important; }

/* ── CHECKLIST DOCUMENTS ─────────────────────── */
.ed-docs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 20px 0;
}
.ed-doc-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #eef2ff;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--ed-navy);
  line-height: 1.4;
}
.ed-doc-item::before {
  content: '✓';
  color: var(--ed-red);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── ÉTAPES / STEPS ──────────────────────────── */
.ed-step-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 22px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(30,77,183,.1);
  margin-bottom: 13px;
  transition: all .3s;
}
.ed-step-row:hover {
  border-color: rgba(232,25,44,.25);
  box-shadow: 0 4px 20px rgba(232,25,44,.08);
  transform: translateX(4px);
}
.ed-step-num {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--ed-red), var(--ed-red-bright));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 700;
  color: #fff;
}
.ed-step-title { font-size: 15px !important; font-weight: 500 !important; color: var(--ed-navy) !important; margin-bottom: 4px !important; }
.ed-step-text  { font-size: 13px !important; line-height: 1.65 !important; color: var(--ed-gray-text) !important; }

/* ── SECTION TAG ─────────────────────────────── */
.ed-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ed-red);
  margin-bottom: 16px;
}
.ed-tag-light { color: var(--ed-red-soft) !important; }

/* ── BADGE PILL ──────────────────────────────── */
.ed-badge {
  display: inline-flex;
  align-items: center;
  background: var(--ed-red-pale);
  border: 1px solid rgba(232,25,44,.25);
  color: var(--ed-red-deep);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 40px;
  margin-bottom: 20px;
}
.ed-badge-dark {
  background: rgba(232,25,44,.15);
  border-color: rgba(232,25,44,.4);
  color: #ffcdd2;
}

/* ── STAT NUMBERS ────────────────────────────── */
.ed-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--ed-red-soft);
  line-height: 1;
}
.ed-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,.4);
  margin-top: 5px;
}

/* ── CTA BANDE ───────────────────────────────── */
.ed-cta-band {
  background: linear-gradient(135deg, #e8192c, #8f0d1e);
  padding: 72px 5%;
  text-align: center;
  color: #fff;
}
.ed-cta-band h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 400;
  margin-bottom: 16px;
  color: #fff;
}
.ed-cta-band p {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,.75);
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.ed-cta-band .wp-block-button__link {
  background: #fff !important;
  color: var(--ed-red) !important;
  font-weight: 600 !important;
}

/* ── FAQ ACCORDION ───────────────────────────── */
.ed-faq-item {
  border-bottom: 1px solid rgba(30,77,183,.15);
}
.ed-faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: var(--ed-navy);
  user-select: none;
  list-style: none;
}
.ed-faq-q span { transition: transform .3s; color: var(--ed-red); }
.ed-faq-a {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ed-gray-text);
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s, padding .3s;
}
.ed-faq-item.open .ed-faq-a { max-height: 240px; padding-bottom: 18px; }
.ed-faq-item.open .ed-faq-q span { transform: rotate(45deg); }

/* ── FAQ sur fond sombre ─────────────────────── */
.ed-section-navy .ed-faq-item { border-color: rgba(232,25,44,.18); }
.ed-section-navy .ed-faq-q    { color: #fff; }
.ed-section-navy .ed-faq-a    { color: rgba(255,255,255,.5); }

/* ── TESTIMONIALS ────────────────────────────── */
.ed-testi-card {
  background: #f0f5ff;
  border: 1px solid rgba(30,77,183,.12);
  border-radius: 20px;
  padding: 36px 32px;
}
.ed-testi-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 60px;
  color: var(--ed-red);
  line-height: .5;
  margin-bottom: 20px;
  opacity: .4;
}
.ed-testi-text {
  font-size: 15px;
  font-style: italic;
  color: var(--ed-navy);
  line-height: 1.8;
  margin-bottom: 22px;
}
.ed-testi-stars { color: var(--ed-red); font-size: 14px; margin-bottom: 12px; }

/* ── IMAGES ──────────────────────────────────── */
.ed-portrait {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: 0 16px 50px rgba(13,34,81,.2);
}
.ed-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.ed-img-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(13,34,81,.15);
  transition: transform .5s;
}
.ed-img-card:hover { transform: scale(1.02); }
.ed-img-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── VISA MOCKUP CARD ────────────────────────── */
.ed-mockup {
  background: linear-gradient(140deg, #0d2251, #1e4db7);
  border-radius: 18px;
  padding: 24px 26px;
  color: #fff;
  box-shadow: var(--ed-shadow-blue);
  position: relative;
  overflow: hidden;
}
.ed-mockup::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(232,25,44,.15);
}
.ed-mockup-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--ed-red-soft);
  margin-bottom: 14px;
}
.ed-mockup-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  font-size: 13px;
}
.ed-mockup-row:last-child { border-bottom: none; }
.ed-mockup-label { font-size: 11px; color: rgba(255,255,255,.38); text-transform: uppercase; letter-spacing: 1px; }
.ed-mockup-value { font-size: 13px; font-weight: 500; color: #fff; }

/* ── COUNTRY PILLS ───────────────────────────── */
.ed-country-pill {
  background: #eef2ff;
  border: 1px solid rgba(30,77,183,.2);
  border-radius: 40px;
  padding: 7px 16px;
  font-size: 13px;
  color: var(--ed-navy);
  display: inline-block;
  transition: all .2s;
  cursor: default;
}
.ed-country-pill:hover {
  background: var(--ed-red-pale);
  border-color: var(--ed-red);
  color: var(--ed-red-deep);
}

/* ── SERVICE TAGS ────────────────────────────── */
.ed-service-tag {
  background: var(--ed-red-pale);
  color: var(--ed-red-deep);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 40px;
  display: inline-block;
  margin: 3px;
}

/* ── FORMULAIRE DE CONTACT ───────────────────── */
.ed-form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}
.ed-form-group label {
  font-size: 11px;
  font-weight: 500;
  color: var(--ed-gray-text);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.ed-form-group input,
.ed-form-group select,
.ed-form-group textarea,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  background: var(--ed-cream) !important;
  border: 1px solid rgba(30,77,183,.2) !important;
  border-radius: 10px !important;
  padding: 13px 17px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  color: var(--ed-navy) !important;
  outline: none !important;
  width: 100% !important;
  transition: border-color .3s !important;
  appearance: none;
}
.ed-form-group input:focus,
.ed-form-group select:focus,
.ed-form-group textarea:focus,
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  border-color: var(--ed-red) !important;
  background: #fff !important;
}
.wpcf7-submit,
input[type="submit"] {
  background: linear-gradient(135deg, #e8192c, #ff4d5e) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 14px 30px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all .3s !important;
}
.wpcf7-submit:hover,
input[type="submit"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 30px rgba(232,25,44,.4) !important;
}

/* ── BREADCRUMB ──────────────────────────────── */
.breadcrumb,
.woocommerce-breadcrumb,
.yoast-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.45);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,.45); text-decoration: none; }
.breadcrumb a:hover { color: var(--ed-red-soft); }

/* ── PAGE HERO (pages intérieures) ───────────── */
.ed-page-hero {
  min-height: 52vh;
  background: linear-gradient(135deg, #0d2251 0%, #163580 55%, #1e4db7 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 5% 80px;
}
.ed-page-hero-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(40px, 5vw, 72px) !important;
  font-weight: 300 !important;
  line-height: 1.07 !important;
  color: #fff !important;
  margin-bottom: 22px !important;
}

/* ── FOOTER ──────────────────────────────────── */
#site-footer,
footer.site-footer,
.wp-block-template-part[class*="footer"] {
  background: #08162e !important;
  padding: 56px 5% 30px !important;
  color: rgba(255,255,255,.5) !important;
}
.wp-block-template-part[class*="footer"] a,
#site-footer a {
  color: rgba(255,255,255,.42) !important;
  text-decoration: none !important;
  font-size: 13px !important;
  transition: color .2s !important;
}
.wp-block-template-part[class*="footer"] a:hover,
#site-footer a:hover {
  color: var(--ed-red-soft) !important;
}

/* ── SCROLL REVEAL ANIMATION ─────────────────── */
.ed-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s, transform .7s;
}
.ed-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── GUTENBERG ALIGNMENT ─────────────────────── */
.wp-block-columns { gap: 40px !important; }
.wp-block-column  { min-width: 0; }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1024px) {
  .ed-docs-grid { grid-template-columns: 1fr 1fr; }
  .ed-page-hero { padding: 100px 6% 60px; }
}
@media (max-width: 768px) {
  #site-header,
  .wp-block-template-part[class*="header"] { padding: 0 6%; }
  .wp-block-group,
  .entry-content section,
  .ed-section { padding: 72px 6%; }
  .ed-docs-grid { grid-template-columns: 1fr; }
  .wp-block-columns { flex-direction: column !important; }
  .ed-page-hero { padding: 90px 6% 56px; min-height: 70vh; }
  h1 { font-size: clamp(36px, 8vw, 56px) !important; }
  h2 { font-size: clamp(28px, 6vw, 44px) !important; }
}
