:root {
    --agro-navy: #010d48;
    --agro-teal: #038761;
    --agro-green: #29b554;
    --agro-white: #ffffff;
    --ag-green-700: #219b48;
    --ag-green-200: #dff7ea;
    --ag-green-100: #eefbf4;
}

/* Hero Section */
.agro-hero {
    background: linear-gradient(135deg, #eefcf7 0%, #ffffff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-image {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Botões */
.btn-agro {
    background: var(--agro-green);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-agro:hover {
    background: var(--ag-green-700);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(41, 181, 84, 0.3);
}

.btn-outline-agro {
    border: 2px solid var(--agro-green);
    color: var(--agro-green);
    background: transparent;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-agro:hover {
    background: var(--agro-green);
    color: white;
    transform: translateY(-2px);
}

/* Cards */
.card-agro {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.card-agro:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--agro-green);
    margin-bottom: 1rem;
}

/* Depoimentos */
.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-left: 4px solid var(--agro-green);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

/* Módulos */
.module-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.module-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.module-image {
    height: 200px;
    object-fit: cover;
}

/* Cores de texto */
.text-agro-navy {
    color: var(--agro-navy);
}

.text-agro-green {
    color: var(--agro-green);
}

.bg-agro-light {
    background-color: var(--ag-green-100);
}

/* Formulário */
.form-agro .form-control {
    border-radius: 10px;
    border: 1px solid #dee2e6;
    padding: 12px;
}

.form-agro .form-control:focus {
    border-color: var(--agro-green);
    box-shadow: 0 0 0 0.2rem rgba(41, 181, 84, 0.25);
}

/* Responsividade */
@media (max-width: 768px) {
    .agro-hero {
        text-align: center;
        padding: 2rem 0;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
}

/* Accordion personalizado */
.accordion-button:not(.collapsed) {
    background-color: var(--ag-green-200) !important;
    color: var(--agro-navy) !important;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--agro-green);
}

/* Melhorias para módulos */
.module-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.module-card:hover {
    transform: translateY(-5px);
}

/* Melhorias para badges */
.badge {
    font-weight: 500;
    padding: 8px 12px;
}

/* Espaçamentos consistentes */
section {
    padding: 4rem 0;
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Navbar ativa */
.navbar-nav .nav-link.active {
    color: var(--agro-green) !important;
    font-weight: 600;
}

/* ===== Depoimentos: vídeo + quote ===== */
.agro-carousel .carousel-item {
  padding: 0.5rem 0; /* respira e evita "pulo" */
}

.testimonial-quote {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--agro-navy);
  font-weight: 600;
  position: relative;
  padding-left: 36px;
}
.testimonial-quote::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -8px;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--agro-green);
  opacity: .25;
}

/* Avatar quadradinho para vídeos (quando não há foto do YouTube) */
.testimonial-avatar-sq {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--ag-green-100);
  color: var(--agro-green);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}

/* Indicadores do carrossel no tom da marca */
.agro-carousel .carousel-indicators [data-bs-target] {
  background-color: var(--agro-green);
}
.agro-carousel .carousel-control-prev-icon,
.agro-carousel .carousel-control-next-icon {
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.25));
}

/* ===== Carrossel: botões visíveis ===== */
.carousel-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid var(--agro-green);
  background: #fff;
  color: var(--agro-green);
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  transition: all .2s ease;
}
.carousel-nav-btn i { font-size: 1.1rem; }
.carousel-nav-btn:hover {
  background: var(--agro-green);
  color: #fff;
  transform: translateY(-2px);
}

/* Indicadores (pontinhos) no tom da marca */
.agro-carousel .carousel-indicators [data-bs-target] {
  background-color: var(--agro-green);
}

/* Aumenta área de clique das setas padrão (se quiser manter também) */
.agro-carousel .carousel-control-prev,
.agro-carousel .carousel-control-next {
  width: 8%;
}

/* Avatar quadrado fallback para vídeos */
.testimonial-avatar-sq {
  width: 52px; height: 52px;
  border-radius: 10px;
  background: var(--agro-white);
  outline: 2px solid var(--ag-green-200);
  color: var(--agro-green);
  display: grid; place-items: center;
  font-size: 1.25rem;
}

/* Citação destacada */
.testimonial-quote {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--agro-navy);
  font-weight: 600;
  position: relative;
  padding-left: 36px;
}
.testimonial-quote::before {
  content: "“";
  position: absolute;
  left: 0; top: -8px;
  font-size: 2.5rem;
  line-height: 1; color: var(--agro-green);
  opacity: .25;
}

/* ===== Módulos: carrossel ===== */
.agro-modules-carousel .carousel-indicators [data-bs-target] {
  background-color: var(--agro-green);
}
.agro-modules-carousel .carousel-indicators {
  margin-bottom: 0.25rem;
}

/* Botões de navegação reutilizados do carrossel de depoimentos */
.carousel-nav-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: 10px 18px; border-radius: 999px;
  border: 2px solid var(--agro-green);
  background: #fff; color: var(--agro-green);
  font-weight: 600; box-shadow: 0 6px 18px rgba(0,0,0,.08);
  transition: all .2s ease;
}
.carousel-nav-btn:hover { background: var(--agro-green); color: #fff; transform: translateY(-2px); }
.carousel-nav-btn i { font-size: 1.1rem; }

/* HERO compacto (override final) */
.agro-hero {
  min-height: 1vh !important;   /* ou use: min-height: auto !important; */
  padding: 5rem 0 !important;     /* o section{padding:4rem 0} deixava alto */
}

/* Título menor no hero (opcional) */
.agro-hero .display-4 {
  font-size: clamp(5rem, 4vw, 5rem) !important;
}

/* Imagem não “puxar” o hero (opcional) */
.agro-hero .hero-image {
  max-height: 360px !important;  /* ajuste para 320–420 se quiser */
  object-fit: contain;
}

/* Remove o padding global só do hero */
section#hero { padding: 2rem 0 !important; }

