/* ==========================================================================
   JUSARAH AGRO AÉREA — Design System
   Paleta: Verde (agro) + Azul (aviação/céu)
   Base reaproveitável para futuro site de Manutenção (outro CNPJ).
   ========================================================================== */

:root {
  /* Verde (agro) */
  --green-900: #0F3D24;
  --green-700: #15803D;
  --green-600: #1B9E4B;
  --green-500: #2E9E5B;
  --green-100: #D9EEE1;
  --green-50:  #EAF5EE;

  /* Azul (aviação / céu) */
  --blue-900: #0B3B5C;
  --blue-700: #0E5A8A;
  --blue-500: #1E88C7;
  --blue-100: #D6E9F6;
  --sky-50:   #EAF3FA;

  /* Neutros */
  --ink:    #15211B;
  --body:   #33413A;
  --muted:  #6A7A71;
  --line:   #E3E9E4;
  --paper:  #FBFCFB;
  --white:  #FFFFFF;

  /* Marca */
  --brand:      var(--green-700);
  --brand-dark: var(--green-900);
  --accent:     var(--blue-700);

  --gold: #C99A2E; /* selo/detalhe de certificação */

  /* Tipografia */
  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --maxw: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(15, 61, 36, .06);
  --shadow:    0 12px 40px rgba(11, 59, 92, .10);
  --shadow-lg: 0 24px 60px rgba(11, 59, 92, .16);
  --header-h: 76px;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

/* ----- Utilidades ----- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tint { background: var(--green-50); }
.section--sky { background: var(--sky-50); }
.section--dark { background: var(--brand-dark); color: #DCE9E1; }
.section--dark h2, .section--dark h3 { color: #fff; }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.center .lead { margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-700); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--green-600); display: inline-block; }
.section--sky .eyebrow, .section--sky .eyebrow { color: var(--blue-700); }
.section--sky .eyebrow::before { background: var(--blue-500); }

/* ----- Botões ----- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--green-700); color: #fff; box-shadow: 0 8px 20px rgba(21,128,61,.28); }
.btn--primary:hover { background: var(--green-600); }
.btn--blue { background: var(--blue-700); color: #fff; box-shadow: 0 8px 20px rgba(14,90,138,.28); }
.btn--blue:hover { background: var(--blue-500); }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.22); }
.btn--outline { background: #fff; color: var(--green-900); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--outline:hover { border-color: var(--green-600); color: var(--green-700); }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand:hover { text-decoration: none; }
/* Espaço para a LOGO da empresa — troque o conteúdo por <img src="assets/img/logo.png"> */
.brand__logo {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, var(--green-700), var(--blue-700));
  display: grid; place-items: center; color: #fff; font-family: var(--font-head);
  font-weight: 800; font-size: 1.2rem; box-shadow: var(--shadow-sm);
}
.brand__name { font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 1.16rem; line-height: 1.05; letter-spacing: .02em; }
.brand__name small { display: block; font-size: .64rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--green-700); margin-top: 2px; }
/* Emblema de marca (placeholder até a logo oficial) */
.brand__mark { width: 48px; height: 48px; display: block; flex: 0 0 48px; }
.brand__mark svg { width: 100%; height: 100%; display: block; }
/* Logo oficial */
.brand__img { height: 58px; width: auto; display: block; }
.footer .brand__img { height: 74px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: var(--ink);
  padding: 9px 13px; border-radius: 10px;
}
.nav a:hover { background: var(--green-50); color: var(--green-800); text-decoration: none; }
.nav a.is-active { color: var(--green-700); }
.header__cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

@media (max-width: 980px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 18px 20px; box-shadow: var(--shadow);
    transform: translateY(-120%); transition: transform .25s ease; visibility: hidden;
  }
  .nav.is-open { transform: translateY(0); visibility: visible; }
  .nav a { padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-toggle { display: block; }
  .header__cta .btn--sm-hide { display: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0;
  background: url('../img/hero-aviao-decolagem.jpg') center 40%/cover no-repeat;
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(9,32,52,.92) 0%, rgba(9,32,52,.7) 42%, rgba(15,61,36,.42) 100%),
    linear-gradient(180deg, rgba(9,32,52,.1), rgba(9,32,52,.5));
}
/* silhueta sutil de avião/curva de pulverização */
.hero__plane { position: absolute; right: -4%; top: 14%; width: min(52%, 620px); opacity: .16; }
.hero__inner { position: relative; padding: clamp(70px, 12vh, 150px) 0 clamp(80px, 12vh, 140px); max-width: 760px; }
.hero .tag {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.3); padding: 7px 15px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .06em; margin-bottom: 22px;
}
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero p.lead { color: rgba(255,255,255,.9); font-size: 1.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__states { margin-top: 34px; display: flex; gap: 22px; flex-wrap: wrap; font-family: var(--font-head); font-weight: 600; font-size: .9rem; opacity: .92; }
.hero__states span { display: inline-flex; align-items: center; gap: 8px; }

/* ==========================================================================
   CONTADORES
   ========================================================================== */
.counters { background: var(--white); margin-top: -50px; position: relative; z-index: 5; }
.counters__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.counter { padding: 34px 22px; text-align: center; border-right: 1px solid var(--line); }
.counter:last-child { border-right: 0; }
.counter__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--green-700); line-height: 1; }
.counter__num .suffix { color: var(--blue-700); }
.counter__label { margin-top: 8px; font-size: .92rem; color: var(--muted); font-weight: 500; }
@media (max-width: 820px) {
  .counters__grid { grid-template-columns: repeat(2, 1fr); }
  .counter:nth-child(2) { border-right: 0; }
  .counter:nth-child(1), .counter:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 460px) { .counters__grid { grid-template-columns: 1fr; } .counter { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ==========================================================================
   CARDS / SERVIÇOS
   ========================================================================== */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green-100); }
.card__icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--green-50); color: var(--green-700);
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .96rem; margin: 0; }

/* Imagem real dentro de container arredondado */
.imgbox { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.imgbox img { width: 100%; height: 100%; object-fit: cover; display: block; }
.imgbox--tall { aspect-ratio: 4/5; }
.imgbox--wide { aspect-ratio: 16/10; }
.imgbox--sq { aspect-ratio: 1/1; }

/* Bloco de texto + imagem */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--reverse .split__media { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }

/* Placeholder de foto elegante */
.photo {
  border-radius: var(--radius); overflow: hidden; position: relative;
  background: linear-gradient(135deg, var(--green-100), var(--blue-100));
  min-height: 300px; box-shadow: var(--shadow);
}
.photo--tall { min-height: 420px; }
.photo__hint {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(21,33,27,.66); color: #fff; font-size: .78rem; font-family: var(--font-head);
  padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(4px);
}
.photo svg.ph-ico { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; opacity: .5; color: var(--green-700); }

/* ==========================================================================
   EQUIPE
   ========================================================================== */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 900px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team { grid-template-columns: 1fr; } }
.member { text-align: center; }
.member .photo { min-height: 240px; margin-bottom: 14px; }
.member h4 { margin: 0; font-family: var(--font-head); font-size: 1.05rem; color: var(--ink); }
.member span { color: var(--green-700); font-size: .88rem; font-weight: 600; }

/* ==========================================================================
   CERTIFICAÇÕES
   ========================================================================== */
.cert { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 720px) { .cert { grid-template-columns: 1fr; } }
.cert__item {
  background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--gold);
  border-radius: var(--radius-sm); padding: 26px 28px; box-shadow: var(--shadow-sm);
}
.cert__item h3 { display: flex; align-items: center; gap: 12px; }
.cert__badge { font-family: var(--font-head); font-weight: 800; color: var(--green-800); }
.cert__num { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: var(--blue-700); margin: 6px 0 4px; }
.seals { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 34px; align-items: center; justify-content: center; }
.seal {
  width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: #fff; border: 2px dashed var(--line); color: var(--muted); font-size: .72rem; font-family: var(--font-head); font-weight: 600; padding: 10px;
}

/* ==========================================================================
   NOTÍCIAS
   ========================================================================== */
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post .photo { border-radius: 0; min-height: 200px; box-shadow: none; }
.post__body { padding: 22px 24px 26px; }
.post__meta { font-size: .8rem; color: var(--green-700); font-weight: 600; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .05em; }
.post__body h3 { margin: 8px 0 10px; font-size: 1.18rem; }
.post__body h3 a { color: var(--ink); }
.post__body p { color: var(--muted); font-size: .95rem; margin: 0 0 14px; }
.post__link { font-family: var(--font-head); font-weight: 600; color: var(--blue-700); font-size: .92rem; }

/* Galeria */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 720px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery .photo { min-height: 220px; }

/* ==========================================================================
   FORMULÁRIO DE ORÇAMENTO
   ========================================================================== */
.form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(26px, 4vw, 44px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink); }
.field label .req { color: #c0392b; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--paper); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-600); box-shadow: 0 0 0 4px var(--green-50); background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .86rem; color: var(--muted); margin-top: 4px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 8px; }

/* ==========================================================================
   CONTATO
   ========================================================================== */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .ico { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; }
.info-list .ico svg { width: 22px; height: 22px; }
.info-list strong { font-family: var(--font-head); color: var(--ink); display: block; }
.info-list span { color: var(--muted); }
.map-embed { width: 100%; min-height: 340px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.socials { display: flex; gap: 12px; margin-top: 6px; }
.socials a { width: 44px; height: 44px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; color: var(--green-700); box-shadow: var(--shadow-sm); }
.socials a:hover { background: var(--green-700); color: #fff; text-decoration: none; }
.socials svg { width: 22px; height: 22px; }

/* ==========================================================================
   EMERGÊNCIA DE INCÊNDIO
   ========================================================================== */
.emergency-float {
  position: fixed; left: 22px; bottom: 22px; z-index: 200;
  display: inline-flex; align-items: center; gap: 9px;
  background: #D7261E; color: #fff; border: none; border-radius: 999px;
  padding: 13px 20px; font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  cursor: pointer; box-shadow: 0 10px 30px rgba(215,38,30,.5); animation: emPulse 2s ease-in-out infinite;
}
.emergency-float svg { width: 22px; height: 22px; }
@keyframes emPulse { 0%,100% { box-shadow: 0 10px 30px rgba(215,38,30,.5); } 50% { box-shadow: 0 12px 42px rgba(215,38,30,.9); } }
@media (max-width: 600px) { .emergency-float { padding: 10px 15px; font-size: .8rem; gap: 6px; } .emergency-float svg { width: 18px; height: 18px; } }

.em-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(20,10,8,.72); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 20px; }
.em-overlay.is-open { display: flex; }
.em-card { background: #fff; border-radius: 22px; max-width: 440px; width: 100%; padding: 32px 26px 26px; text-align: center; position: relative; box-shadow: var(--shadow-lg); }
.em-card .em-close { position: absolute; top: 12px; right: 16px; background: none; border: 0; font-size: 1.7rem; color: var(--muted); cursor: pointer; line-height: 1; }
.em-icon { width: 64px; height: 64px; border-radius: 50%; background: #FDEAE8; color: #D7261E; display: grid; place-items: center; margin: 0 auto 14px; }
.em-icon svg { width: 34px; height: 34px; }
.em-card h3 { font-size: 1.5rem; margin: 0 0 6px; }
.em-card .em-sub { color: var(--muted); margin: 0 0 22px; }
.em-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; border: none; border-radius: 14px; padding: 17px; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; cursor: pointer; text-decoration: none; margin-bottom: 12px; transition: transform .15s; }
.em-btn:hover { transform: translateY(-2px); text-decoration: none; }
.em-btn--call { background: #D7261E; color: #fff; box-shadow: 0 8px 20px rgba(215,38,30,.35); }
.em-btn--wpp { background: #25D366; color: #fff; }
.em-btn svg { width: 24px; height: 24px; }
.em-193 { background: #FFF6E6; border: 1px solid #F3D98A; border-radius: 12px; padding: 12px 14px; font-size: .92rem; color: #7a5a10; margin-top: 8px; text-align: left; }
.em-193 strong { color: #D7261E; }
.em-hours { font-size: .84rem; color: var(--muted); margin-top: 14px; }

/* Botão flutuante de WhatsApp */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); text-decoration: none; }
.wa-float svg { width: 32px; height: 32px; }

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--green-900), var(--blue-900)); color: #fff; border-radius: clamp(18px, 3vw, 28px); padding: clamp(40px, 6vw, 70px); text-align: center; }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,.86); max-width: 55ch; margin-inline: auto; }
.cta-banner .btn { margin-top: 22px; }

/* ==========================================================================
   PAGE HERO (páginas internas)
   ========================================================================== */
.page-hero { background: linear-gradient(135deg, var(--green-900), var(--blue-900)); color: #fff; padding: clamp(48px, 8vw, 90px) 0; position: relative; }
.page-hero .eyebrow { color: #9BE3B6; }
.page-hero .eyebrow::before { background: #9BE3B6; }
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 62ch; }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 18px; font-family: var(--font-head); }
.breadcrumb a { color: rgba(255,255,255,.9); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--brand-dark); color: #B9CEC1; padding: 64px 0 28px; }
.footer a { color: #B9CEC1; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .93rem; }
.footer .brand__name { color: #fff; }
.footer .brand__name small { color: #7FD0A0; }
.footer p { font-size: .93rem; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; font-size: .84rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ==========================================================================
   ANIMAÇÃO DE ENTRADA
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   MOVIMENTO / VIDA
   ========================================================================== */
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.16); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes waPulse { 0%,100% { box-shadow: 0 10px 30px rgba(37,211,102,.45); } 50% { box-shadow: 0 12px 44px rgba(37,211,102,.85); } }
@keyframes scrollCue { 0% { opacity:.2; transform: translateY(0); } 50% { opacity:1; transform: translateY(7px); } 100% { opacity:.2; transform: translateY(0); } }
@keyframes popIn { 0% { opacity:0; transform: translateY(14px) scale(.9); } 100% { opacity:1; transform:none; } }

/* Foto do hero com zoom lento (Ken Burns) */
.hero__bg { transform-origin: 60% 50%; animation: kenburns 22s ease-out both; }

/* Conteúdo do hero entrando em sequência */
.hero .tag        { animation: fadeUp .7s .10s both; }
.hero h1          { animation: fadeUp .8s .25s both; }
.hero p.lead      { animation: fadeUp .8s .42s both; }
.hero__actions    { animation: fadeUp .8s .58s both; }
.hero__states     { animation: fadeUp .8s .74s both; }

/* Números com entrada em destaque */
.counter { animation: popIn .6s both; }
.counter:nth-child(1) { animation-delay: .05s; }
.counter:nth-child(2) { animation-delay: .15s; }
.counter:nth-child(3) { animation-delay: .25s; }
.counter:nth-child(4) { animation-delay: .35s; }
.counter__num { font-size: clamp(2.4rem, 5vw, 3.4rem); letter-spacing: -.02em; transition: transform .3s; }
.counter:hover .counter__num { transform: translateY(-3px); }

/* WhatsApp pulsando */
.wa-float { animation: waPulse 2.6s ease-in-out infinite; }

/* Indicador de rolagem no hero */
.hero__scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3; color: #fff; opacity: .85; }
.hero__scroll span { display: block; width: 26px; height: 44px; border: 2px solid rgba(255,255,255,.6); border-radius: 20px; position: relative; }
.hero__scroll span::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 3px; animation: scrollCue 1.6s infinite; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg, .hero .tag, .hero h1, .hero p.lead, .hero__actions, .hero__states, .counter, .wa-float, .hero__scroll span::after { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   APRIMORAMENTOS — MOBILE + MAIS MOVIMENTO
   ========================================================================== */

/* --- Micro-interações (hover / toque) --- */
.card, .post { transition: transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s ease, border-color .28s; }
.card:hover, .post:hover { transform: translateY(-6px); box-shadow: 0 20px 46px rgba(11,59,92,.15); }
.imgbox img { transition: transform .7s cubic-bezier(.2,.7,.3,1); }
.imgbox:hover img { transform: scale(1.06); }
.card__icon { transition: transform .3s ease, background .3s ease; }
.card:hover .card__icon { transform: translateY(-3px) scale(1.08); background: var(--green-100); }
.post__link, .nav a, .footer a { transition: color .2s, transform .2s; }
.post:hover .post__link { transform: translateX(4px); }

/* Brilho passando nos botões */
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255,255,255,.28), transparent); transform: skewX(-20deg); transition: left .6s ease; pointer-events: none; }
.btn:hover::after { left: 140%; }

/* --- Stagger: cards entram em sequência ao revelar --- */
.reveal.is-visible .card,
.reveal.is-visible .post,
.reveal.is-visible .member,
.reveal.is-visible .cert__item { animation: fadeUp .6s both; }
.reveal.is-visible .card:nth-child(2), .reveal.is-visible .post:nth-child(2), .reveal.is-visible .member:nth-child(2), .reveal.is-visible .cert__item:nth-child(2) { animation-delay: .1s; }
.reveal.is-visible .card:nth-child(3), .reveal.is-visible .post:nth-child(3), .reveal.is-visible .member:nth-child(3) { animation-delay: .2s; }
.reveal.is-visible .card:nth-child(4), .reveal.is-visible .post:nth-child(4), .reveal.is-visible .member:nth-child(4) { animation-delay: .3s; }
.reveal.is-visible .card:nth-child(5) { animation-delay: .4s; }
.reveal.is-visible .card:nth-child(6) { animation-delay: .5s; }

/* --- MOBILE: mais bonito e confortável --- */
@media (max-width: 760px) {
  .section { padding: 50px 0; }
  .hero__inner { padding: 88px 0 68px; max-width: 100%; }
  .hero h1 { font-size: clamp(1.85rem, 8vw, 2.5rem); }
  .hero p.lead { font-size: 1.06rem; }
  .hero__bg { background-position: 64% 42%; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 11px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero .tag { margin-bottom: 16px; }
  .hero__states { justify-content: center; gap: 14px; font-size: .82rem; margin-top: 26px; }
  .lead { font-size: 1.05rem; }
  h2 { font-size: clamp(1.5rem, 6.5vw, 2.05rem); }
  .split { gap: 26px; }
  .imgbox--tall { aspect-ratio: 4/3; }
  .cta-banner { padding: 36px 20px; }
  .cta-banner .btn { width: 100%; }
  .grid { gap: 16px; }
  .counters { margin-top: -34px; }
  .counter { padding: 26px 16px; }
  .footer { padding: 48px 0 24px; }
  .hero__scroll { display: none; }
  /* Botões flutuantes bem posicionados no mobile */
  .wa-float { width: 54px; height: 54px; right: 15px; bottom: 15px; }
  .wa-float svg { width: 28px; height: 28px; }
  .emergency-float { left: 15px; bottom: 15px; padding: 14px; box-shadow: 0 8px 24px rgba(215,38,30,.55); }
}
@media (max-width: 430px) {
  .hero__states { flex-direction: column; align-items: center; gap: 9px; }
  .em-card { padding: 26px 20px 22px; }
  .em-card h3 { font-size: 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  .card, .post, .imgbox img, .card__icon, .post__link { transition: none !important; }
  .card:hover, .post:hover, .card:hover .card__icon, .imgbox:hover img, .post:hover .post__link { transform: none !important; }
  .btn::after { display: none !important; }
  .reveal.is-visible .card, .reveal.is-visible .post, .reveal.is-visible .member, .reveal.is-visible .cert__item { animation: none !important; }
}

/* Hero: texto legível com sombra + foto do avião aparecendo mais */
.hero .tag, .hero h1, .hero p.lead { text-shadow: 0 2px 16px rgba(6,20,34,.55); }
@media (max-width: 760px) {
  .hero__bg::after { background: linear-gradient(180deg, rgba(8,28,46,.6) 0%, rgba(8,28,46,.38) 44%, rgba(8,28,46,.64) 100%); }
  .hero__inner { padding: 78px 22px 56px; }
  /* Espaço extra no fim pra os botões flutuantes não taparem conteúdo */
  .footer { padding-bottom: 40px; }
}

/* ==================== Vídeo "Nossa Rotina" ==================== */
.video-embed {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
  background: #000 center/cover no-repeat;
  cursor: pointer;
}
.video-embed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 14, 9, .30);
  transition: background .3s;
}
.video-embed:hover::after { background: rgba(4, 14, 9, .12); }
.video-embed.is-playing { cursor: default; }
.video-embed.is-playing::after { display: none; }
.video-embed__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: none; border: none; padding: 0;
  cursor: pointer; z-index: 2;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .45));
  transition: transform .2s;
}
.video-embed__play svg { width: 86px; height: auto; display: block; }
.video-embed__bg { opacity: .9; transition: opacity .2s; }
.video-embed:hover .video-embed__play { transform: translate(-50%, -50%) scale(1.09); }
.video-embed:hover .video-embed__bg { opacity: 1; }
.video-embed iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; z-index: 3;
}
@media (max-width: 560px) {
  .video-embed { border-radius: 16px; }
  .video-embed__play svg { width: 64px; }
}
