/* ==========================================================
   SafeMoroccoTours — Adaptations CSS pour le français
   French text is typically 15-30% longer than English.
   This stylesheet fixes layout issues caused by longer FR strings.
   ========================================================== */

/* === BUTTONS — Slightly smaller text, more padding flexibility === */
.btn-primary,
.btn-ghost,
.btn-whatsapp-inline {
  font-size: 0.78rem !important;
  letter-spacing: 0.04em !important;
  white-space: nowrap;
  padding: 1rem 1.6rem !important;
}

@media (max-width: 900px) {
  .btn-primary,
  .btn-ghost,
  .btn-whatsapp-inline {
    font-size: 0.72rem !important;
    padding: 0.85rem 1.3rem !important;
  }
}

@media (max-width: 700px) {
  .btn-primary,
  .btn-ghost,
  .btn-whatsapp-inline {
    font-size: 0.72rem !important;
    padding: 0.85rem 1rem !important;
    white-space: normal;
  }
}

/* === HERO ACTIONS — keep vertical stacking always (WhatsApp on top) === */
.hero-actions {
  flex-direction: column !important;
  align-items: stretch !important;
  max-width: 360px !important;
  gap: 0.85rem !important;
}

.hero-actions > * {
  width: 100% !important;
  flex: 0 0 auto !important;
  justify-content: center !important;
}

@media (max-width: 1100px) {
  .hero-actions {
    gap: 0.75rem !important;
  }
}

/* === HERO CONTENT — leave more room for stats bar === */
.hero-content {
  padding-bottom: 13rem !important;
}

@media (max-width: 900px) {
  .hero-content {
    padding-bottom: 11rem !important;
  }
}

@media (max-width: 700px) {
  .hero-content {
    padding-bottom: 0 !important;
  }
}

/* === HERO H1 — More compact for FR (longer text) === */
.hero h1 {
  font-size: clamp(1.7rem, 3.4vw, 2.9rem) !important;
  margin-bottom: 0.85rem !important;
}

.hero h1 em {
  font-size: 0.88em !important;
}

.hero p.hero-lead {
  font-size: 1.08rem !important;
  line-height: 1.5 !important;
  margin-bottom: 1.2rem !important;
}

@media (max-width: 1100px) {
  .hero h1 {
    font-size: clamp(1.5rem, 3vw, 2.4rem) !important;
  }
  .hero p.hero-lead {
    font-size: 1rem !important;
  }
}

/* === TOUR BADGES — smaller for longer FR translations === */
.tour-badge {
  font-size: 0.62rem !important;
  letter-spacing: 0.06em !important;
  padding: 5px 11px !important;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .tour-badge {
    font-size: 0.58rem !important;
    padding: 4px 9px !important;
  }
}

/* === STAT NUM & LABELS — Compact FR (texte FR plus long) === */
.stat {
  padding: 1rem 1.5rem !important;
}

.stat-num {
  font-size: 1.5rem !important;
  line-height: 1.1 !important;
}

.stat-label {
  font-size: 0.58rem !important;
  letter-spacing: 0.1em !important;
  line-height: 1.25 !important;
}

@media (max-width: 1100px) {
  .stat {
    padding: 0.85rem 1.1rem !important;
  }
  .stat-num {
    font-size: 1.3rem !important;
  }
  .stat-label {
    font-size: 0.52rem !important;
  }
}

@media (max-width: 900px) {
  .stat-label {
    font-size: 0.5rem !important;
    letter-spacing: 0.05em !important;
  }
}

/* === NAVIGATION — slightly tighter spacing === */
.main-nav ul li a {
  font-size: 0.82rem !important;
  letter-spacing: 0.04em !important;
  padding: 0.5rem 0.6rem !important;
}

@media (max-width: 1100px) {
  .main-nav ul li a {
    font-size: 0.76rem !important;
    padding: 0.5rem 0.4rem !important;
  }
}

/* === SECTION TAGS (small uppercase labels) === */
.section-tag {
  font-size: 0.7rem !important;
  letter-spacing: 0.16em !important;
}

/* === CTA BUTTONS in sections === */
.cta-buttons {
  flex-wrap: wrap;
  gap: 1rem;
}

/* === FAQ QUESTIONS — fit longer FR text === */
.faq-q {
  font-size: 1rem !important;
  line-height: 1.45;
  padding-right: 2.5rem;
}

@media (max-width: 700px) {
  .faq-q {
    font-size: 0.92rem !important;
    line-height: 1.5;
  }
}

/* === EXC CARD NAMES — longer FR titles === */
.exc-name {
  font-size: 1.15rem !important;
  line-height: 1.3 !important;
}

/* === FAMILY VALUE STRONG === */
.family-value strong {
  font-size: 1.05rem !important;
  line-height: 1.35;
}

/* === TRUST BADGE TEXT === */
.trust-badge-text {
  font-size: 0.78rem !important;
}

.trust-badge-text strong {
  font-size: 0.9rem !important;
}

/* === FEATURE TITLE in Why Us === */
.feature-title {
  font-size: 0.98rem !important;
  line-height: 1.3;
}

/* === FEATURE TEXT === */
.feature-text {
  font-size: 0.82rem !important;
  line-height: 1.55;
}

/* === HIGHLIGHT TAGS in tours/itineraries === */
.highlight-tag {
  font-size: 0.7rem !important;
  letter-spacing: 0.04em !important;
  padding: 4px 10px !important;
}

/* === NAV CTA "Réserver" stays clean === */
.nav-cta {
  padding: 0.55rem 1.2rem !important;
  font-size: 0.78rem !important;
}

/* === DAY DESC paragraphs (longer FR) === */
.day-desc {
  font-size: 0.92rem !important;
  line-height: 1.65 !important;
}

/* === DAY TITLE === */
.day-title {
  font-size: 1.18rem !important;
  line-height: 1.3 !important;
}

/* === CHANNEL CARD HANDLE & NOTE === */
.channel-handle {
  font-size: 0.82rem !important;
}

.channel-note {
  font-size: 0.72rem !important;
}

/* === LANGUAGE OPTION text === */
.lang-option span,
.lang-current span {
  font-size: 0.78rem !important;
}

/* === FOOTER CONTACT LINES === */
.footer-contact-line {
  font-size: 0.85rem !important;
  line-height: 1.65;
}

/* === HERO LEAD — longer in FR === */
.hero-lead {
  max-width: 720px !important;
  line-height: 1.65 !important;
}

@media (max-width: 700px) {
  .hero-lead {
    font-size: 0.92rem !important;
  }
}

/* === DAY ROUTE labels === */
.day-route {
  font-size: 0.85rem !important;
  line-height: 1.4;
}

/* === ARTICLE INTRO === */
.article-intro {
  font-size: 1.15rem !important;
  line-height: 1.7 !important;
}

@media (max-width: 700px) {
  .article-intro {
    font-size: 1.02rem !important;
  }
}

/* === CALLOUT box === */
.callout {
  padding: 1.5rem 1.6rem !important;
}

.callout strong {
  font-size: 1.05rem !important;
}

/* === BLOG CARD TITLES (longer in FR) === */
.blog-card-title {
  font-size: 1.4rem !important;
  line-height: 1.3 !important;
}

@media (max-width: 700px) {
  .blog-card-title {
    font-size: 1.2rem !important;
  }
}

/* === BLOG CATEGORY === */
.blog-category {
  font-size: 0.7rem !important;
  letter-spacing: 0.14em !important;
}

/* === MOBILE — Make sure WhatsApp text fits === */
@media (max-width: 480px) {
  .btn-whatsapp-inline {
    font-size: 0.68rem !important;
    padding: 0.85rem 0.9rem !important;
  }
  
  .btn-whatsapp-inline svg {
    width: 14px !important;
    height: 14px !important;
  }
}

/* === Hero stats numbers spacing === */
.hero-stats {
  gap: 1.5rem;
  padding: 1.5rem 2rem;
}

@media (max-width: 900px) {
  .hero-stats {
    gap: 0.5rem;
    padding: 1rem 0.8rem;
  }
  
  .stat-num {
    font-size: 1.6rem !important;
  }
}

/* === FOOTER COPY === */
.footer-copy {
  font-size: 0.78rem !important;
}

/* === CHANNEL CARD NAME === */
.channel-name {
  font-size: 1.08rem !important;
  line-height: 1.3;
}

/* === TESTI quote (longer in FR) === */
.testi-quote {
  font-size: 0.95rem !important;
  line-height: 1.65 !important;
}

/* === FAQ ANSWER === */
.faq-a {
  font-size: 0.95rem !important;
  line-height: 1.7 !important;
}

/* === SECTION SUB === */
.section-sub {
  line-height: 1.65 !important;
}

/* === GENERATION TEXT === */
.generation-text {
  font-size: 1rem !important;
  line-height: 1.7 !important;
}

/* === VALUE CARD === */
.value-card-title {
  font-size: 1.15rem !important;
  line-height: 1.3 !important;
}

.value-card-text {
  font-size: 0.92rem !important;
  line-height: 1.65 !important;
}

/* ==========================================================
   END OF FRENCH-SPECIFIC ADJUSTMENTS
   ========================================================== */
