/* ==========================================================================
   Project Assistance Funding — Shared stylesheet
   Identity: institutional-human. Deep pine green + muted gold accent,
   display serif for headings, neutral sans-serif for body copy.
   ========================================================================== */

:root {
  /* Colors */
  --paper: #FBFAF8;
  --paper-dim: #F3F1EC;
  --ink: #14251F;
  --ink-soft: #2A3B34;
  --green: #1F5D4C;
  --green-deep: #143D32;
  --green-tint: #E8EFEA;
  --gold: #B08D57;
  --gold-tint: #F3EBDD;
  --line: #DCD8CE;
  --muted: #5C6560;
  --white: #FFFFFF;

  /* Type */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Rhythm */
  --container: 1180px;
  --radius: 4px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

/* ==========================================================================
   Right-to-left reveal animations
   ========================================================================== */

@keyframes slideInFromRight {
  from { opacity: 0; transform: translateX(56px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Elements animate in from the right as they enter the viewport */
.reveal-right {
  opacity: 0;
  transform: translateX(56px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger helper — add alongside reveal-right / reveal-up */
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.4s; }
.reveal-delay-6 { transition-delay: 0.48s; }

/* Page-load entrance for the hero, plays immediately without scroll */
.hero-animate {
  animation: slideInFromRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-animate-delay {
  animation: slideInFromRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.15s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-right, .reveal-up { opacity: 1; transform: none; }
  .hero-animate, .hero-animate-delay { animation: none; opacity: 1; }
}

/* ==========================================================================
   Split layout (hero + "why choose us") — remplace les grid inline
   ========================================================================== */

.split-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.split-layout.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

@media (max-width: 900px) {
  .split-layout,
  .split-layout.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  /* Sur "why choose us", l'image passe après le texte sur mobile */
  .split-layout.reverse > *:first-child {
    order: 2;
  }
}

@media (max-width: 480px) {
  .split-layout,
  .split-layout.reverse {
    gap: 28px;
  }
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 248, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}

.logo .logo-mark {
  color: var(--green);
  font-style: italic;
}

.logo img { height: 56px; width: auto; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-desktop a {
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 10px 16px;
  border-radius: var(--radius);
  transition: color 0.2s ease, background 0.2s ease;
  position: relative;
}

.nav-desktop a:hover {
  color: var(--green-deep);
  background: var(--green-tint);
}

.nav-desktop a.active {
  color: var(--green-deep);
  font-weight: 600;
}

.nav-desktop a.active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 5px;
  height: 2px;
  background: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-deep); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green); color: var(--green-deep); }

.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #96754A; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ink);
  flex-shrink: 0; /* ne jamais se faire écraser par le logo ou les CTA */
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
}

.nav-toggle svg { width: 26px; height: 26px; display: block; }

@media (max-width: 940px) {
  .nav-toggle { display: flex; }
}

/* .nav-mobile est un enfant direct de <body> (voir header.php), pas de
   .site-header, pour ne jamais être piégé par le containing block que
   position:sticky + backdrop-filter créent pour leurs descendants fixed. */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: var(--paper, #FBFAF8);
  z-index: 9999;
  padding: 100px 24px 24px;
  overflow-y: auto;
}

.nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ink);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-close svg { width: 24px; height: 24px; }

@media (max-width: 480px) {
  .nav-close { top: 14px; right: 14px; }
}

.nav-mobile.open {
  display: block;
}

.nav-mobile a {
  display: block;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink);
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.nav-mobile .header-actions {
  margin-top: 24px;
  flex-direction: column;
  align-items: stretch;
}

@media (max-width: 940px) {
  .nav-desktop { display: none; }
  /* Sur mobile, le header ne garde que le hamburger : les CTA
     (Contact, Apply Now) vivent uniquement dans le menu ouvert
     pour ne pas se disputer la place avec le bouton. */
  .site-header > .container .header-actions .btn-ghost,
  .site-header > .container .header-actions .btn-primary { display: none; }
}

@media (max-width: 480px) {
  .site-header .container { height: 68px; }
  .logo img { height: 40px; }
  .nav-mobile { padding: 90px 20px 20px; }
  .nav-mobile a { font-size: 1.2rem; padding: 14px 0; }
  .header-actions { gap: 8px; }
  .nav-mobile .header-actions .btn-primary { padding: 10px 16px; font-size: 0.85rem; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--ink);
  color: rgba(251, 250, 248, 0.72);
  padding: 72px 0 28px;
  margin-top: 120px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(251, 250, 248, 0.12);
}

.footer-brand .logo { color: var(--paper); }
.footer-brand .logo .logo-mark { color: var(--gold); }

.footer-brand p {
  margin-top: 16px;
  font-size: 0.92rem;
  max-width: 32ch;
  color: rgba(251, 250, 248, 0.55);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(251,250,248,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.footer-social a:hover { border-color: var(--gold); background: rgba(176,141,87,0.12); }
.footer-social svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 600;
}

.footer-col a {
  display: block;
  text-decoration: none;
  font-size: 0.92rem;
  color: rgba(251, 250, 248, 0.72);
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--paper); }

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(251, 250, 248, 0.72);
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.2s ease;
}

a.footer-contact-item:hover { color: var(--paper); }

.footer-contact-item svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 0.82rem;
  color: rgba(251, 250, 248, 0.45);
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer { padding: 48px 0 24px; margin-top: 80px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Page header banner (internal pages)
   ========================================================================== */

.page-hero {
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--paper-dim) 0%, var(--paper) 100%);
}

.page-hero .eyebrow { margin-bottom: 18px; }

.page-hero h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  max-width: 20ch;
}

.page-hero p.lead {
  margin-top: 18px;
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 62ch;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.breadcrumb a { text-decoration: none; color: var(--muted); }
.breadcrumb a:hover { color: var(--green-deep); }
.breadcrumb span { color: var(--gold); }

@media (max-width: 480px) {
  .page-hero { padding: 40px 0 36px; }
}

/* ==========================================================================
   Generic sections & components
   ========================================================================== */

section { padding: 96px 0; }
.section-tight { padding: 64px 0; }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }

.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-top: 14px; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.05rem; }

.bg-dim { background: var(--paper-dim); }
.bg-ink { background: var(--ink); color: rgba(251,250,248,0.85); }
.bg-ink h2, .bg-ink h3 { color: var(--paper); }
.bg-ink .section-head p { color: rgba(251,250,248,0.6); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.card:hover { border-color: var(--green); transform: translateY(-3px); }

.card .card-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
}

.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.95rem; }

.card a.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green-deep);
  text-decoration: none;
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
}

@media (max-width: 480px) {
  section { padding: 48px 0; }
  .section-tight { padding: 40px 0; }
  .section-head { margin-bottom: 36px; }
  .card { padding: 24px 20px; }
}

/* ==========================================================================
   Full-bleed sections — break out of the centered container so a block
   spans the true width of the viewport. Use on a wrapper placed directly
   inside <main>, outside of .container.
   ========================================================================== */

.full-bleed {
  width: 100%;
  padding-left: clamp(20px, 4vw, 64px);
  padding-right: clamp(20px, 4vw, 64px);
}

@media (max-width: 480px) {
  .full-bleed { padding-left: 16px; padding-right: 16px; }
}

.stat-row { display: flex; gap: 56px; flex-wrap: wrap; }
.stat-row .stat .value { font-family: var(--font-display); font-style: italic; font-size: 2.4rem; color: var(--green-deep); }
.stat-row .stat .label { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }

@media (max-width: 640px) {
  .stat-row { gap: 28px 40px; }
  .stat-row .stat .value { font-size: 2rem; }
}

.cta-band {
  background: var(--green-deep);
  color: var(--paper);
  border-radius: 6px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h3 { color: var(--paper); font-size: 1.6rem; max-width: 26ch; }
.cta-band .btn-gold { flex-shrink: 0; }

@media (max-width: 640px) {
  .cta-band {
    padding: 32px 24px;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .cta-band h3 { font-size: 1.35rem; }
  .cta-band .btn-gold {
    width: 100%;
    text-align: center;
  }
}

/* ==========================================================================
   Banner section (image + text, home page)
   ========================================================================== */

.banner-section {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  min-height: 480px;
  width: 100%;
  display: flex;
  align-items: center;
  color: var(--paper);
}

@media (max-width: 640px) {
  .banner-section { min-height: 420px; border-radius: 0; }
}

.banner-section img.banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.banner-section .banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,37,31,0.92) 0%, rgba(20,37,31,0.55) 55%, rgba(20,37,31,0.25) 100%);
  z-index: 1;
}

.banner-section .banner-content {
  position: relative;
  z-index: 2;
  padding: 56px;
  max-width: 560px;
}

@media (max-width: 640px) {
  .banner-section .banner-content {
    padding: 28px 24px;
    max-width: 100%;
  }
}

.banner-content .eyebrow { color: var(--gold); }
.banner-content h2 { color: var(--paper); font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-top: 14px; }
.banner-content p { margin-top: 18px; color: rgba(251,250,248,0.82); font-size: 1.05rem; }

@media (max-width: 480px) {
  .banner-content h2 { font-size: 1.5rem; }
  .banner-content p { font-size: 0.95rem; }
}

/* ==========================================================================
   Testimonials slider
   ========================================================================== */

.testimonial-slider { position: relative; }

.testimonial-track-wrap { overflow: hidden; }

.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-slide {
  flex: 0 0 33.3333%;
  padding: 0 12px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 30px 26px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-card .stars { color: var(--gold); font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-card p.quote { color: var(--ink-soft); font-size: 0.96rem; flex-grow: 1; }

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.testimonial-person img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-person .name { font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.testimonial-person .role { font-size: 0.8rem; color: var(--muted); }

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.slider-arrow:hover { border-color: var(--green); background: var(--green-tint); }
.slider-arrow svg { width: 18px; height: 18px; }

.slider-dots { display: flex; gap: 8px; align-items: center; }

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, width 0.2s ease;
}

.slider-dot.active { background: var(--gold); width: 22px; border-radius: 4px; }

@media (max-width: 900px) {
  .testimonial-slide { flex: 0 0 50%; }
}

@media (max-width: 640px) {
  .testimonial-slide { flex: 0 0 100%; padding: 0; }
  .testimonial-card { padding: 24px 20px; }
  .slider-controls { margin-top: 24px; gap: 10px; }
  .slider-arrow { width: 40px; height: 40px; }
}

/* ==========================================================================
   Blog / news cards
   ========================================================================== */

.blog-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.blog-card:hover { transform: translateY(-4px); border-color: var(--green); }

.blog-card .blog-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--paper-dim);
}

.blog-card .blog-body { padding: 24px; }

.blog-card .blog-date {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.blog-card .blog-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--green-tint);
  color: var(--green-deep);
  margin-left: 10px;
}

.blog-card h3 { font-size: 1.1rem; margin-top: 10px; }
.blog-card p { color: var(--muted); font-size: 0.92rem; margin-top: 8px; }

.blog-card .blog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--green-deep);
  text-decoration: none;
}

@media (max-width: 480px) {
  .blog-card .blog-body { padding: 18px; }
}

/* ==========================================================================
   FAQ accordion — two columns
   ========================================================================== */

.faq-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.faq-question .faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.faq-question .faq-icon svg { width: 11px; height: 11px; transition: transform 0.3s ease; }

.faq-item.open .faq-question .faq-icon {
  transform: rotate(180deg);
  border-color: var(--gold);
  background: var(--gold-tint);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner { padding: 0 0 22px; color: var(--muted); font-size: 0.94rem; max-width: 52ch; }

@media (max-width: 800px) {
  .faq-columns { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .faq-question { font-size: 0.94rem; padding: 18px 0; gap: 10px; }
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-field { margin-bottom: 22px; }

.form-field label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.form-field .hint { font-size: 0.8rem; color: var(--muted); font-weight: 400; margin-left: 4px; }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.96rem;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--green);
  outline: none;
  box-shadow: 0 0 0 3px var(--green-tint);
}

.form-field textarea { resize: vertical; min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 22px;
}

fieldset legend { font-size: 0.88rem; font-weight: 600; color: var(--ink); padding: 0 8px; }

.radio-group, .checkbox-group { display: flex; flex-wrap: wrap; gap: 12px; }

.radio-option, .checkbox-option {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 0.9rem;
  cursor: pointer;
}

.radio-option input, .checkbox-option input { width: auto; }

.form-alert {
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  margin-bottom: 24px;
}

.form-alert.success { background: var(--green-tint); color: var(--green-deep); border: 1px solid var(--green); }
.form-alert.error { background: #FBEAEA; color: #8A2E2E; border: 1px solid #D98A8A; }

@media (max-width: 480px) {
  .form-field input,
  .form-field select,
  .form-field textarea {
    padding: 11px 14px;
    font-size: 0.92rem;
  }
  fieldset { padding: 16px; }
  .radio-group, .checkbox-group { gap: 8px; }
  .radio-option, .checkbox-option { padding: 8px 12px; font-size: 0.85rem; }
}

/* ==========================================================================
   Floating WhatsApp bubble
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px -6px rgba(20,37,31,0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: whatsappPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s both;
}

.whatsapp-float svg { width: 30px; height: 30px; }

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 34px -6px rgba(20,37,31,0.55);
}

@keyframes whatsappPop {
  from { opacity: 0; transform: scale(0.4); }
  to   { opacity: 1; transform: scale(1); }
}

@media (max-width: 640px) {
  .whatsapp-float {
    left: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { animation: none; }
}