:root {
  --pr-blue: #0033a0;
  --pr-blue-dark: #00246e;
  --pr-red: #d2122e;
  --pr-red-dark: #a30d24;
  --white: #ffffff;
  --ink: #16213a;
  --muted: #5b6478;
  --bg: #f4f6fb;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

a { color: inherit; }

.flag-stripe {
  height: 8px;
  background: repeating-linear-gradient(
    to right,
    var(--pr-red) 0, var(--pr-red) 20%,
    var(--white) 20%, var(--white) 40%,
    var(--pr-blue) 40%, var(--pr-blue) 60%,
    var(--white) 60%, var(--white) 80%,
    var(--pr-red) 80%, var(--pr-red) 100%
  );
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 100px 20px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/img/morro_pano.jpg');
  background-size: cover;
  background-position: center 42%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,20,55,0.30) 0%, rgba(0,20,55,0.42) 40%, rgba(0,14,42,0.82) 100%);
}

.palm-decor {
  position: absolute;
  bottom: -6%;
  height: 62%;
  width: auto;
  z-index: 1;
  opacity: 0.96;
  filter: drop-shadow(0 16px 22px rgba(0,0,0,0.45));
  transform-origin: bottom center;
  animation: sway 7s ease-in-out infinite alternate;
  pointer-events: none;
}

.palm-left { left: -3%; }
.palm-right { right: -3%; transform: scaleX(-1); animation-name: sway-right; animation-delay: 1.2s; }

@keyframes sway {
  from { transform: rotate(-2deg); }
  to   { transform: rotate(2deg); }
}
@keyframes sway-right {
  from { transform: scaleX(-1) rotate(-2deg); }
  to   { transform: scaleX(-1) rotate(2deg); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
}

.hero-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--white);
}

.hero-flag-badge {
  display: inline-block;
  background: var(--white);
  padding: 7px;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  transform: rotate(-3deg);
  margin-bottom: 22px;
}

.hero-flag-badge img {
  display: block;
  width: 84px;
  height: auto;
  border-radius: 4px;
}

.hero-logo-big {
  max-width: 560px;
  width: 92%;
  height: auto;
  margin-bottom: 22px;
  filter:
    drop-shadow(0 2px 3px rgba(0,0,0,0.5))
    drop-shadow(0 10px 14px rgba(0,0,0,0.4))
    drop-shadow(0 26px 36px rgba(0,0,0,0.35));
  animation: logo-float 6s ease-in-out infinite;
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-lede {
  margin: 0 0 40px;
  font-size: 1.25rem;
  max-width: 620px;
  color: #eef3ff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
  font-weight: 500;
}

.hero-showcase {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  margin-bottom: 44px;
}

.hero-product-wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
}

.hero-product-img {
  width: 220px;
  max-width: 42vw;
  height: auto;
  filter: drop-shadow(0 20px 22px rgba(0,0,0,0.5));
  animation: bob 5s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.natural-badge {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe27a, #d4a017 70%, #a97a0a 100%);
  color: #2c1a00;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.15;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 6px 14px rgba(0,0,0,0.4);
  border: 2px solid #fff3d0;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 17px 32px;
  border-radius: 999px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover { transform: translateY(-3px) scale(1.02); }

.btn-primary {
  background: var(--pr-red);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(210,18,46,0.5);
}
.btn-primary:hover { background: var(--pr-red-dark); box-shadow: 0 12px 26px rgba(210,18,46,0.6); }

.btn-secondary {
  background: var(--white);
  color: var(--pr-blue);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.btn-secondary:hover { box-shadow: 0 12px 26px rgba(0,0,0,0.35); }

.btn-outline {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.85);
}
.btn-outline:hover { background: rgba(255,255,255,0.2); }

.trust-strip {
  background: var(--white);
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.trust-photo {
  flex: 1 1 380px;
  max-height: 340px;
  overflow: hidden;
}

.trust-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trust-caption {
  flex: 1 1 320px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 32px 40px;
  font-size: 1.15rem;
  color: var(--ink);
  background: var(--bg);
}

main { max-width: 980px; margin: 0 auto; padding: 40px 20px 60px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .palm-decor, .hero-product-img, .hero-logo-big { animation: none; }
}

@media (max-width: 720px) {
  .hero { min-height: auto; padding: 64px 16px 50px; }
  .hero-logo-big { max-width: 320px; }
  .hero-lede { font-size: 1.05rem; margin-bottom: 30px; }
  .hero-showcase { gap: 4px; margin-bottom: 34px; }
  .hero-product-img { width: 170px; }
  .natural-badge { width: 50px; height: 50px; font-size: 0.5rem; }
  .palm-decor { height: 34%; }
  .btn { padding: 14px 22px; font-size: 0.95rem; }
}

section.events {
  margin-top: 8px;
}

.section-title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--pr-blue);
  margin: 0 0 6px;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  margin: 0 0 28px;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.event-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(16,33,74,0.12);
  display: flex;
  flex-direction: column;
}

.event-photo {
  height: 190px;
  overflow: hidden;
  position: relative;
}

.event-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-when {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--pr-red);
  color: var(--white);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

.event-body { padding: 18px 20px 22px; }

.event-body h3 {
  margin: 0 0 4px;
  font-size: 1.2rem;
  color: var(--ink);
}

.event-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.event-body .loc {
  color: var(--pr-blue);
  font-weight: 600;
  margin-top: 6px;
}

section.testimonials {
  margin-top: 56px;
}

.stars {
  text-align: center;
  font-size: 1.3rem;
  letter-spacing: 3px;
  color: var(--pr-red);
  margin: 0 0 6px;
}

.featured-testimonial {
  background: var(--white);
  border-left: 5px solid var(--pr-red);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(16,33,74,0.10);
  padding: 26px 28px;
  margin: 0 0 26px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.featured-testimonial p.quote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink);
  margin: 0 0 12px;
}

.featured-testimonial p.attribution {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}

.highlight-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}

.highlight-chip {
  background: var(--white);
  border: 1px solid #e1e6f2;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pr-blue);
  box-shadow: 0 3px 10px rgba(16,33,74,0.06);
}

.testimonial-disclaimer {
  max-width: 760px;
  margin: 24px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.phone-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pr-red);
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

.phone-cta:hover { background: var(--pr-red-dark); }

footer.site-footer {
  background: var(--ink);
  color: #cfd6e8;
  text-align: center;
  padding: 28px 20px;
  font-size: 0.9rem;
}

footer.site-footer .phone-cta {
  margin: 10px 0 14px;
}

footer.site-footer p { margin: 6px 0; }
footer.site-footer .credit { font-size: 0.72rem; color: #7c869c; }
