/* ==========================================================================
   New Start Nutri Center - Main Stylesheet
   Palette: #C62828 (Vermelho), #2E7D32 (Verde), #FBC02D (Amarelo),
            #F5F5F5 (Cinza suave), #FFFFFF (Branco)
   Fonts:   Exo 2 (headings), Nunito Sans (body)
   ========================================================================== */

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Nunito Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: #333;
  background: #fff;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #2E7D32; text-decoration: none; transition: color .2s ease; }
a:hover, a:focus { color: #C62828; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

:root {
  --red: #C62828;
  --red-dark: #a11f1f;
  --green: #2E7D32;
  --green-dark: #1b5e20;
  --yellow: #FBC02D;
  --gray-soft: #F5F5F5;
  --gray-text: #555;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 6px 20px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.14);
  --radius: 12px;
  --container: 1200px;
}

.container { width: min(var(--container), 92%); margin: 0 auto; }

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: 'Exo 2', system-ui, sans-serif;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.25;
}
h1 { font-size: 38px; margin-bottom: .5em; }
h2 { font-size: 28px; margin-bottom: .5em; color: var(--green); }
h3 { font-size: 22px; margin-bottom: .4em; color: var(--red); }
h4 { font-size: 18px; margin-bottom: .4em; }
p { margin-bottom: 1em; color: #444; }
.lead { font-size: 20px; color: #555; }

/* Skip link (accessibility) */
.skip-link {
  position: absolute; top: -40px; left: 0; background: var(--red);
  color: #fff; padding: 8px 16px; z-index: 999; transition: top .2s;
}
.skip-link:focus { top: 0; color: #fff; }

/* ============ TOP BAR ============ */
.topbar {
  background: var(--green);
  color: #fff;
  font-size: 14px;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; align-items: center; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--yellow); }
.topbar-info { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-social a { margin-left: 10px; font-size: 16px; }

/* ============ HEADER / NAV ============ */
.site-header {
  background: #fff;
  box-shadow: var(--shadow-sm);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0;
}
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo img { height: 56px; width: auto; }
.logo-text { font-family: 'Exo 2', sans-serif; font-weight: 700; color: var(--green); font-size: 18px; line-height: 1.1; }
.logo-text small { display: block; color: var(--red); font-size: 12px; font-weight: 400; letter-spacing: .5px; }

/* Nav */
.main-nav ul { list-style: none; display: flex; gap: 4px; align-items: center; }
.main-nav li { position: relative; }
.main-nav > ul > li > a {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Exo 2', sans-serif;
  font-weight: 600; font-size: 15px;
  color: #222; padding: 10px 14px;
  border-radius: 8px;
  transition: background .2s, color .2s;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active { background: var(--gray-soft); color: var(--red); }
.has-submenu > a::after {
  content: "▾"; font-size: 10px; margin-left: 4px;
  transition: transform .2s;
}
.has-submenu:hover > a::after,
.has-submenu.open > a::after { transform: rotate(180deg); }

/* Submenu */
.submenu {
  position: absolute; top: 100%; left: 0;
  background: #fff;
  min-width: 260px;
  padding: 8px;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 200;
}
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu,
.has-submenu.open .submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.submenu li { display: block; }
.submenu a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; color: #333; border-radius: 6px;
  font-size: 14px;
}
.submenu a:hover { background: var(--gray-soft); color: var(--green); }
.submenu a i,
.submenu a .icon { color: var(--red); width: 22px; text-align: center; }

.btn-cta {
  background: var(--red); color: #fff !important;
  padding: 10px 18px !important; border-radius: 999px;
  font-weight: 700; letter-spacing: .3px;
  transition: background .2s, transform .2s;
}
.btn-cta:hover { background: var(--red-dark); transform: translateY(-1px); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border-radius: 8px; background: var(--gray-soft);
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: #222; position: relative; }
.menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: #222;
  transition: transform .25s;
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 90px 0 100px;
  background:
    linear-gradient(135deg, rgba(46,125,50,.85), rgba(198,40,40,.75)),
    url('../images/hero-bg.webp') center/cover no-repeat;
  color: #fff;
  text-align: center;
}
.hero h1 { color: #fff; font-size: 44px; margin-bottom: 16px; }
.hero p { color: #f2f2f2; font-size: 20px; max-width: 780px; margin: 0 auto 28px; }
.hero .cta-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700; font-size: 16px;
  transition: background .2s, transform .2s, color .2s, box-shadow .2s;
  cursor: pointer;
}
.btn-primary { background: var(--yellow); color: #1a1a1a !important; }
.btn-primary:hover { background: #ffca28; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; color: #fff !important; border: 2px solid #fff; }
.btn-secondary:hover { background: #fff; color: var(--green) !important; }
.btn-whats { background: #25D366; color: #fff !important; }
.btn-whats:hover { background: #1eb457; transform: translateY(-2px); }

/* Sections */
section { padding: 70px 0; }
section.alt { background: var(--gray-soft); }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { color: var(--green); }
.section-title p { color: var(--gray-text); max-width: 700px; margin: 10px auto 0; }
.section-title::after {
  content: ""; display: block; width: 60px; height: 4px;
  background: var(--yellow); margin: 14px auto 0; border-radius: 2px;
}

/* ============ CARDS / GRID ============ */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
  border-top: 4px solid var(--green);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card .card-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--red));
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 26px; margin-bottom: 18px;
}
.card h3 { color: var(--red); margin-bottom: 10px; }
.card p { color: #555; font-size: 16px; }

/* ============ TWO-COL SECTION ============ */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.two-col.reverse .col-image { order: 2; }
.col-image img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.col-text h2 { text-align: left; color: var(--red); }
.col-text h2::after { display: none; }

/* ============ PROCESS / STEPS ============ */
.steps { counter-reset: step; display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.step {
  background: #fff; padding: 30px 24px; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); position: relative;
  border-left: 5px solid var(--yellow);
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: 'Exo 2', sans-serif; font-weight: 700; font-size: 34px;
  color: var(--red); opacity: .25; position: absolute; top: 14px; right: 20px;
}
.step h3 { color: var(--green); font-size: 20px; }
.step p { font-size: 15px; }

/* ============ TESTIMONIALS ============ */
.testimonial {
  background: #fff; padding: 28px; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border-top: 4px solid var(--red);
}
.testimonial .stars { color: var(--yellow); margin-bottom: 10px; letter-spacing: 2px; }
.testimonial blockquote { font-style: italic; color: #444; margin-bottom: 14px; }
.testimonial cite {
  font-style: normal; font-weight: 700; color: var(--green);
}

/* ============ FAQ ============ */
.faq-item {
  background: #fff; border-radius: 10px; margin-bottom: 12px;
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq-question {
  width: 100%; text-align: left; padding: 18px 22px;
  font-family: 'Exo 2', sans-serif; font-weight: 600; font-size: 17px;
  color: var(--green); display: flex; justify-content: space-between; align-items: center;
}
.faq-question::after { content: "+"; font-size: 24px; color: var(--red); transition: transform .2s; }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden; padding: 0 22px;
  transition: max-height .3s ease, padding .3s ease;
  color: #555;
}
.faq-item.open .faq-answer { max-height: 500px; padding: 0 22px 20px; }

/* ============ CTA BAND ============ */
.cta-band {
  background: linear-gradient(135deg, var(--green), var(--red));
  color: #fff; text-align: center; padding: 70px 0;
}
.cta-band h2 { color: #fff; }
.cta-band h2::after { display: none; }
.cta-band p { color: #f4f4f4; max-width: 700px; margin: 0 auto 24px; }

/* ============ FORMS ============ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }
label { font-weight: 600; margin-bottom: 6px; color: #333; font-size: 14px; }
input, select, textarea {
  font-family: inherit; font-size: 16px;
  padding: 12px 14px; border: 1px solid #ddd; border-radius: 8px;
  background: #fff; color: #222;
  transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46,125,50,.15);
}
textarea { min-height: 130px; resize: vertical; }

/* ============ FOOTER ============ */
.site-footer {
  background: #1c1c1c; color: #d8d8d8; padding: 60px 0 20px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 {
  color: #fff; font-size: 16px; margin-bottom: 18px;
  border-bottom: 2px solid var(--yellow); display: inline-block; padding-bottom: 6px;
}
.site-footer a { color: #d8d8d8; }
.site-footer a:hover { color: var(--yellow); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; font-size: 14px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-logo img { height: 60px; background: #fff; padding: 6px; border-radius: 8px; }
.social-links a {
  display: inline-flex; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08); align-items: center; justify-content: center;
  margin-right: 6px; transition: background .2s, color .2s;
}
.social-links a:hover { background: var(--red); color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px; margin-top: 40px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: #999;
}
.disclaimer {
  background: rgba(255,255,255,.04); padding: 18px; border-radius: 8px;
  margin-top: 30px; font-size: 13px; color: #b8b8b8; line-height: 1.6;
}

/* ============ FLOATING WHATSAPP ============ */
.float-whats {
  position: fixed; bottom: 24px; right: 24px; z-index: 500;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  font-size: 28px;
  animation: pulse 2s infinite;
}
.float-whats:hover { background: #1eb457; color: #fff; transform: scale(1.06); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.7); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ============ BREADCRUMB ============ */
.breadcrumb {
  background: var(--gray-soft); padding: 16px 0;
  font-size: 14px;
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: 8px; color: #888; }
.breadcrumb a { color: var(--green); }
.breadcrumb [aria-current="page"] { color: #555; }

/* ============ PAGE HEADER ============ */
.page-header {
  background: linear-gradient(135deg, var(--green), var(--red));
  color: #fff; padding: 60px 0; text-align: center;
}
.page-header h1 { color: #fff; }
.page-header p { color: #f4f4f4; max-width: 700px; margin: 0 auto; }

/* ============ COOKIE BANNER ============ */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 800;
  background: #1c1c1c; color: #fff; padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-wrap: wrap; box-shadow: 0 -4px 20px rgba(0,0,0,.2);
  transform: translateY(100%); transition: transform .3s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { margin: 0; font-size: 14px; flex: 1 1 400px; color: #ddd; }
.cookie-banner a { color: var(--yellow); }
.cookie-banner .btn { padding: 10px 22px; font-size: 14px; }

/* ============ UTILITIES ============ */
.text-center { text-align: center; }
.mt-2 { margin-top: 20px; }
.mb-2 { margin-bottom: 20px; }
.mt-4 { margin-top: 40px; }
.badge {
  display: inline-block; background: rgba(198,40,40,.1); color: var(--red);
  padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
  letter-spacing: .5px; text-transform: uppercase;
}
.list-check { list-style: none; padding: 0; }
.list-check li {
  padding: 10px 0 10px 32px; position: relative; border-bottom: 1px solid #eee;
}
.list-check li::before {
  content: "✓"; position: absolute; left: 0; top: 10px;
  color: var(--green); font-weight: 700; font-size: 18px;
}

/* Video placeholder */
.video-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: #000; aspect-ratio: 16/9; box-shadow: var(--shadow-md);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Responsive */
@media (max-width: 992px) {
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .hero { padding: 60px 0 70px; }
  .hero h1 { font-size: 32px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .two-col.reverse .col-image { order: -1; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  body { font-size: 16px; }
  .topbar { font-size: 12px; }
  .topbar-info { justify-content: center; }
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; top: 0; right: -100%; width: 84%; max-width: 340px;
    height: 100vh; background: #fff; box-shadow: -4px 0 20px rgba(0,0,0,.15);
    padding: 80px 20px 20px; transition: right .3s ease; overflow-y: auto;
    z-index: 150;
  }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; align-items: stretch; }
  .main-nav > ul > li > a { padding: 12px 14px; }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; padding: 0 0 6px 12px; display: none;
  }
  .has-submenu.open .submenu { display: block; }
  .grid-3, .grid-4, .grid-2, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
