/* ═══════════════════════════════════════════════════════════════
   AC DISTRIBUYE — Landing Page Styles
   American College USA · Distribuidor Oficial
═══════════════════════════════════════════════════════════════ */

/* ── Reset & Base ──────────────────────────────────────────────── */
.ac-distribuye-page *, .ac-distribuye-page *::before, .ac-distribuye-page *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.ac-distribuye-page {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: #1a1a2e;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.ac-distribuye-page img { max-width: 100%; height: auto; display: block; }
.ac-distribuye-page a { text-decoration: none; }

/* ── Variables ─────────────────────────────────────────────────── */
:root {
  --ac-navy:    #0d1b2a;
  --ac-blue:    #1a3c6e;
  --ac-action:  #3b7abf;
  --ac-action-dk: #2d6aad;
  --ac-action-lt: #5b9fd8;
  --ac-red:     #c1272d;
  --ac-gold:    #c9a84c;
  --ac-white:   #ffffff;
  --ac-light:   #f4f6f9;
  --ac-border:  #dde3ed;
  --ac-text:    #1a1a2e;
  --ac-muted:   #5a6a7e;
  --ac-radius:  12px;
  --ac-shadow:  0 4px 24px rgba(13,27,42,.10);
  --ac-shadow-lg: 0 12px 48px rgba(13,27,42,.16);
  --ac-transition: .25s ease;
}

/* ── Container ─────────────────────────────────────────────────── */
.acd-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ───────────────────────────────────────────────────── */
.acd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--ac-transition);
  white-space: nowrap;
  text-decoration: none;
}
.acd-btn--primary {
  background: var(--ac-action);
  color: var(--ac-white);
  border-color: var(--ac-action);
}
.acd-btn--primary:hover {
  background: var(--ac-action-dk);
  border-color: var(--ac-action-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59,122,191,.35);
  color: var(--ac-white);
}
.acd-btn--lg { padding: 16px 36px; font-size: 1.05rem; border-radius: 10px; }
.acd-btn--full { width: 100%; }
.acd-btn--wa {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
  margin-top: 16px;
}
.acd-btn--wa:hover { background: #1ebe5d; color: #fff; }

/* ── Tag ───────────────────────────────────────────────────────── */
.acd-tag {
  display: inline-block;
  background: rgba(59,122,191,.1);
  color: var(--ac-action);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 12px;
}

/* ══════════════════════════════════════════════════════════════════
   HERO (split layout: pitch + form)
══════════════════════════════════════════════════════════════════ */
.acd-hero {
  position: relative;
  background: linear-gradient(135deg, var(--ac-navy) 0%, var(--ac-blue) 60%, #1f4e8c 100%);
  color: var(--ac-white);
  overflow: hidden;
  padding: 56px 0 80px;
}
.acd-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(59,122,191,.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(201,168,76,.12) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.acd-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,27,42,.3) 0%, rgba(13,27,42,.05) 60%, rgba(13,27,42,.4) 100%);
  pointer-events: none;
}

/* Grid: text left · form right */
.acd-hero__grid {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

/* ── Hero content (left) ───────────────────────────────────────── */
.acd-hero__content {
  text-align: left;
}
.acd-hero__badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--ac-action), var(--ac-action-lt));
  color: white;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 22px;
  animation: badgePulse 3s ease-in-out infinite;
}
@keyframes badgePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(59,122,191,.4); }
  50% { box-shadow: 0 0 0 10px rgba(59,122,191,0); }
}
.acd-hero__title {
  font-size: clamp(1.8rem, 4.4vw, 3rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.acd-hero__brand {
  color: var(--ac-gold);
  display: inline;
}
.acd-hero__sub {
  font-size: clamp(.95rem, 1.6vw, 1.1rem);
  color: rgba(255,255,255,.85);
  max-width: 540px;
  margin-bottom: 22px;
  line-height: 1.6;
}

/* Checklist inside hero */
.acd-hero__checklist {
  list-style: none;
  margin-bottom: 26px;
}
.acd-hero__checklist li {
  position: relative;
  padding-left: 28px;
  color: rgba(255,255,255,.88);
  margin-bottom: 8px;
  font-size: .95rem;
  line-height: 1.5;
}
.acd-hero__checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(201,168,76,.18);
  color: var(--ac-gold);
  font-size: .8rem;
  font-weight: 800;
  margin-top: 1px;
}

/* Quick contact buttons */
.acd-hero__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.acd-hero__contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  min-height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.18);
  color: var(--ac-white);
  font-size: .9rem;
  transition: all var(--ac-transition);
}
.acd-hero__contact-btn:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.35);
  transform: translateY(-2px);
  color: var(--ac-white);
}
.acd-hero__contact-btn strong { color: var(--ac-gold); font-weight: 700; }
.acd-hero__contact-btn--wa { background: rgba(37,211,102,.16); border-color: rgba(37,211,102,.4); }
.acd-hero__contact-btn--wa:hover { background: rgba(37,211,102,.28); border-color: rgba(37,211,102,.6); }
.acd-hero__contact-btn svg { flex-shrink: 0; }

/* Scroll indicator */
.acd-hero__scroll {
  position: relative;
  z-index: 5;
  text-align: center;
  padding-top: 36px;
}
.acd-hero__arrow {
  display: inline-block;
  width: 22px;
  height: 22px;
  border-right: 3px solid rgba(255,255,255,.5);
  border-bottom: 3px solid rgba(255,255,255,.5);
  transform: rotate(45deg);
  animation: arrowBounce .9s ease-in-out infinite alternate;
}
@keyframes arrowBounce { from { transform: rotate(45deg) translateY(0); } to { transform: rotate(45deg) translateY(6px); } }

/* ── Hero form (right) ─────────────────────────────────────────── */
.acd-hero__form-wrap {
  position: relative;
  z-index: 5;
}
.acd-hero .acd-form-container {
  background: var(--ac-white);
  border-radius: 18px;
  padding: 32px 32px 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  color: var(--ac-text);
}
.acd-hero .acd-form-header { margin-bottom: 20px; }
.acd-hero .acd-form-header h2 { font-size: 1.35rem; font-weight: 800; color: var(--ac-navy); margin-bottom: 6px; line-height: 1.2; }
.acd-hero .acd-form-header p { color: var(--ac-muted); font-size: .9rem; }

/* ══════════════════════════════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════════════════════════════ */
.acd-section {
  padding: 80px 0;
}
.acd-section--alt {
  background: var(--ac-light);
}
.acd-section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.acd-section__header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--ac-navy);
}
.acd-section__header p { font-size: 1rem; color: var(--ac-muted); line-height: 1.7; }

/* ── Grids ─────────────────────────────────────────────────────── */
.acd-grid { display: grid; gap: 24px; }
.acd-grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.acd-grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ── Cards ─────────────────────────────────────────────────────── */
.acd-card {
  background: var(--ac-white);
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius);
  padding: 32px 26px;
  transition: transform var(--ac-transition), box-shadow var(--ac-transition);
}
.acd-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ac-shadow-lg);
}
.acd-card--benefit .acd-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(59,122,191,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ac-action);
  margin-bottom: 18px;
}
.acd-card--benefit .acd-card__icon svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.acd-card--benefit h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ac-navy);
  margin-bottom: 10px;
}
.acd-card--benefit p { color: var(--ac-muted); line-height: 1.65; font-size: .92rem; }

/* ── Product cards ─────────────────────────────────────────────── */
.acd-product-card {
  background: var(--ac-white);
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius);
  padding: 26px 22px;
  text-align: center;
  transition: transform var(--ac-transition), box-shadow var(--ac-transition);
}
.acd-product-card:hover { transform: translateY(-4px); box-shadow: var(--ac-shadow); }
.acd-product-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(59,122,191,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--ac-action);
}
.acd-product-card__icon svg { width: 26px; height: 26px; }
.acd-product-card h4 { font-size: 1rem; font-weight: 700; color: var(--ac-navy); margin-bottom: 8px; }
.acd-product-card p { font-size: .86rem; color: var(--ac-muted); line-height: 1.55; }

/* ══════════════════════════════════════════════════════════════════
   STEPS
══════════════════════════════════════════════════════════════════ */
.acd-steps {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.acd-step {
  flex: 1;
  min-width: 180px;
  max-width: 240px;
  text-align: center;
}
.acd-step__num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ac-action), var(--ac-blue));
  color: white;
  font-size: 1.3rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 6px 20px rgba(59,122,191,.3);
}
.acd-step__content h3 { font-size: 1rem; font-weight: 700; color: var(--ac-navy); margin-bottom: 6px; }
.acd-step__content p { font-size: .86rem; color: var(--ac-muted); line-height: 1.55; }
.acd-step__arrow {
  font-size: 1.6rem;
  color: var(--ac-action);
  margin-top: 14px;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════════════════════ */
.acd-testimonial {
  background: var(--ac-white);
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius);
  padding: 28px;
  position: relative;
  box-shadow: var(--ac-shadow);
}
.acd-testimonial__stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 14px; }
.acd-testimonial p { color: var(--ac-muted); line-height: 1.65; font-size: .92rem; margin-bottom: 18px; font-style: italic; }
.acd-testimonial__author strong { display: block; font-size: .9rem; font-weight: 700; color: var(--ac-navy); }
.acd-testimonial__author span { font-size: .82rem; color: var(--ac-muted); }

/* ══════════════════════════════════════════════════════════════════
   FORM (used inside hero)
══════════════════════════════════════════════════════════════════ */
.acd-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.acd-form__group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}
.acd-form__row .acd-form__group { margin-bottom: 0; }

.acd-form__group label {
  font-size: .84rem;
  font-weight: 600;
  color: var(--ac-navy);
  display: block;
}
.acd-form__group label span { color: var(--ac-action); }
.acd-optional { font-weight: 400; color: var(--ac-muted); font-size: .78rem; }

.acd-form__group input[type="text"],
.acd-form__group input[type="email"],
.acd-form__group input[type="tel"],
.acd-form__group select,
.acd-form__group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--ac-border);
  border-radius: 8px;
  font-size: .92rem;
  color: var(--ac-text);
  background: #fafbfc;
  transition: border-color var(--ac-transition), box-shadow var(--ac-transition);
  outline: none;
  font-family: inherit;
}
.acd-form__group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a6a7e' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.acd-form__group textarea { resize: vertical; min-height: 70px; }
.acd-form__group input:focus,
.acd-form__group select:focus,
.acd-form__group textarea:focus {
  border-color: var(--ac-blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(26,60,110,.08);
}
.acd-form__group input.is-invalid,
.acd-form__group select.is-invalid,
.acd-form__group textarea.is-invalid {
  border-color: var(--ac-red);
  box-shadow: 0 0 0 4px rgba(193,39,45,.08);
}
.acd-form__group input.is-valid,
.acd-form__group select.is-valid,
.acd-form__group textarea.is-valid {
  border-color: #22c55e;
}

.acd-form__error {
  font-size: .8rem;
  color: var(--ac-red);
  font-weight: 500;
  display: none;
  margin-top: 2px;
}
.acd-form__error.visible { display: block; }

.acd-char-count {
  font-size: .76rem;
  color: var(--ac-muted);
  text-align: right;
  display: block;
}

/* Privacy */
.acd-form__privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
  font-size: .82rem;
  color: var(--ac-muted);
}
.acd-form__privacy input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--ac-blue);
  margin-top: 2px;
  cursor: pointer;
}
.acd-form__privacy a { color: var(--ac-blue); text-decoration: underline; }
.acd-form__privacy label { cursor: pointer; line-height: 1.5; }

/* Alert */
.acd-form__alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: 16px;
  display: none;
}
.acd-form__alert.alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  display: block;
}
.acd-form__alert.alert-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  display: block;
}

/* Submit button loading state */
.acd-btn__loading { display: none; }
.acd-btn--loading .acd-btn__text { display: none; }
.acd-btn--loading .acd-btn__loading { display: inline; }
.acd-btn:disabled { opacity: .7; cursor: not-allowed; transform: none !important; }

.acd-form__note { text-align: center; font-size: .78rem; color: var(--ac-muted); margin-top: 10px; }

/* Honeypot */
.acd-honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Success */
.acd-form-success {
  text-align: center;
  padding: 30px 16px;
}
.acd-success-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
  color: #22c55e;
}
.acd-success-icon svg { width: 56px; height: 56px; }
.acd-form-success h3 { font-size: 1.3rem; font-weight: 800; color: var(--ac-navy); margin-bottom: 10px; }
.acd-form-success p { color: var(--ac-muted); line-height: 1.65; margin-bottom: 6px; font-size: .92rem; }

/* ══════════════════════════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════════════════════════ */
.acd-faq-list { max-width: 760px; margin: 0 auto; }
.acd-faq-item {
  border-bottom: 1px solid var(--ac-border);
}
.acd-faq-item__q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 40px 18px 4px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ac-navy);
  cursor: pointer;
  position: relative;
  transition: color var(--ac-transition);
}
.acd-faq-item__q:hover { color: var(--ac-blue); }
.acd-faq-item__q::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--ac-action);
  transition: transform var(--ac-transition);
  font-weight: 400;
  line-height: 1;
}
.acd-faq-item__q[aria-expanded="true"]::after { transform: translateY(-50%) rotate(45deg); }
.acd-faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .25s ease;
  color: var(--ac-muted);
  line-height: 1.65;
  font-size: .94rem;
  padding: 0 40px 0 0;
}
.acd-faq-item__a.open {
  max-height: 400px;
  padding: 0 40px 18px 0;
}

/* ══════════════════════════════════════════════════════════════════
   CTA FINAL
══════════════════════════════════════════════════════════════════ */
.acd-cta-final {
  background: linear-gradient(135deg, var(--ac-action), var(--ac-blue));
  color: white;
  text-align: center;
  padding: 70px 24px;
}
.acd-cta-final h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 14px;
}
.acd-cta-final p { font-size: 1rem; color: rgba(255,255,255,.85); margin-bottom: 30px; }
.acd-cta-final .acd-btn--primary {
  background: white;
  color: var(--ac-action);
  border-color: white;
}
.acd-cta-final .acd-btn--primary:hover { background: #f3f4f6; }

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .acd-hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .acd-hero { padding: 44px 0 60px; }
  .acd-hero__content { text-align: center; }
  .acd-hero__sub { margin-left: auto; margin-right: auto; }
  .acd-hero__checklist { display: inline-block; text-align: left; }
  .acd-hero__contact { justify-content: center; }
}

@media (max-width: 768px) {
  .acd-form__row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .acd-section { padding: 56px 0; }
  .acd-hero { padding: 36px 0 56px; }
  .acd-hero .acd-form-container { padding: 24px 20px 22px; border-radius: 14px; }
  .acd-hero .acd-form-header h2 { font-size: 1.2rem; }
  .acd-hero__title { font-size: clamp(1.6rem, 7vw, 2rem); }
  .acd-hero__checklist li { font-size: .9rem; padding-left: 26px; }
  .acd-steps { flex-direction: column; align-items: center; }
  .acd-step__arrow { transform: rotate(90deg); }
  .acd-hero__contact { flex-direction: column; align-items: stretch; }
  .acd-hero__contact-btn { justify-content: center; }
  .acd-section__header { margin-bottom: 36px; }
  .acd-cta-final { padding: 56px 20px; }
  /* Prevent iOS zoom on focus (inputs need 16px+) */
  .acd-form__group input,
  .acd-form__group select,
  .acd-form__group textarea { font-size: 16px; }
}

@media (max-width: 380px) {
  .acd-container { padding: 0 18px; }
  .acd-hero__title { font-size: clamp(1.5rem, 8vw, 1.85rem); line-height: 1.1; }
  .acd-hero__sub { font-size: .9rem; }
  .acd-hero .acd-form-container { padding: 22px 16px 20px; }
}

/* Smooth scroll */
html { scroll-behavior: smooth; }
