/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  font-size: 16px
}

body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #2d3748;
  line-height: 1.6;
  overflow-x: hidden;
  background: #fff
}

img {
  max-width: 100%;
  height: auto;
  display: block
}

a {
  text-decoration: none;
  color: inherit
}

ul {
  list-style: none
}

/* ===== VARIABLES ===== */
:root {
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --primary-light: #ccfbf1;
  --accent: #f59e0b;
  --text: #1e293b;
  --text-light: #64748b;
  --bg: #ffffff;
  --bg-alt: #1d0d52;
  --shadow: 0 4px 24px rgba(13, 148, 136, .12);
  --radius: 12px;
  --transition: all .3s ease;
}

/* ===== UTILITIES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition)
}

.btn-primary {
  background: var(--primary);
  color: #fff
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow)
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff
}

.btn-outline:hover {
  background: #fff;
  color: var(--primary)
}

.btn-whatsapp {
  background: #25d366;
  color: #fff
}

.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px)
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--bg);
  text-align: center;
  margin-bottom: 12px
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition)
}

.header.scrolled {
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, .08);
  padding: 10px 0
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  transition: var(--transition)
}

.header.scrolled .logo {
  color: var(--primary)
}

.logo span {
  color: var(--accent)
}

.nav {
  display: flex;
  gap: 32px;
  align-items: center
}

.nav a {
  color: rgba(255, 255, 255, .9);
  font-weight: 500;
  transition: var(--transition);
  position: relative
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition)
}

.nav a:hover::after {
  width: 100%
}

.header.scrolled .nav a {
  color: var(--text)
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition)
}

.header.scrolled .menu-toggle span {
  background: var(--text)
}

/* ===== HERO ===== */
.hero {
  /* position: relative; */
  /* min-height: 100vh; */
  display: flex;
  align-items: center;
  background: url(img/fundo-drrossilenio/fundo-drrossilenio.png) no-repeat center;
  background-size: cover;
  /* overflow: hidden */
}

.hero-bg {
  /* position: absolute;
  inset: 0;
  z-index: 0 */
}

.hero-bg img {
  /* width: 100%;
  height: 100%;
  object-fit: cover */
}

.hero-bg::after {
  
  /* background: linear-gradient(135deg, rgba(13, 148, 136, .92) 0%, rgba(15, 118, 110, .85) 50%, rgba(13, 148, 136, .75) 100%) */
}

.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 60px;
  padding-top: 80px
}

.hero-content {
  flex: 1;
  color: #fff
}

.hero-content h1 {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px
}

.hero-content h1 span {
  color: var(--accent)
}

.hero-content p {
  font-size: 1.2rem;
  opacity: .9;
  margin-bottom: 32px;
  max-width: 520px
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap
}

.hero-image {
  flex: 0 0 400px
}

.hero-image img {
  border-radius: 20px;
  /* box-shadow: 0 20px 60px rgba(0, 0, 0, .3) */
}

/* .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: .875rem;
  margin-bottom: 20px;
  color: #fff
} */

/* ===== SERVICES ===== */
.services {
  padding: 100px 0;
  background: var(--bg-alt)
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px
}

.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid transparent
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light)
}

.service-card img {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  object-fit: contain
}

.service-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text)
}

.service-card p {
  color: var(--text-light);
  font-size: .95rem;
  line-height: 1.7
}

/* .service-card .tag {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600
} */

/* ===== ABOUT ===== */
/* ===== SEÇÃO SOBRE (Otimizada para seu Root) ===== */
.about {
    padding: 120px 0;
    background: var(--bg);
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Container da Imagem com efeito Premium */
.about-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

/* Mancha decorativa usando sua variável primary-light */
.image-shape {
    position: absolute;
    width: 85%;
    height: 90%;
    background: var(--primary-light);
    bottom: 0;
    left: 5%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 1;
    opacity: 0.6; /* Deixa o tom suave */
}

.profile-img {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 450px;
    /* Shadow mais elegante que a padrão */
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.12));
    transition: var(--transition);
}

.about-image-wrapper:hover .profile-img {
    transform: translateY(-8px);
}

/* Badge usando sua variável primary e radius */
.experience-badge {
    position: absolute;
    z-index: 3;
    bottom: 30px;
    right: 0;
    background: var(--bg);
    padding: 24px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
}

.experience-badge .number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.experience-badge .label {
    font-size: 0.85rem;
    color: var(--text);
    font-weight: 600;
    margin-top: 5px;
}

/* Conteúdo */
.subtitle {
    display: block;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 12px;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--text);
}

.about-content .highlight {
    font-size: 1.1rem;
    color: var(--text);
    font-weight: 600;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-light);
    line-height: 1.8;
}

.about-list {
    margin: 30px 0;
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Ícone de check personalizado */
.about-list li::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 900;
}

/* Responsividade Básica */
@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; gap: 60px; }
    .about-content { text-align: center; }
    .about-list { justify-content: center; text-align: left; }
    .experience-badge { right: 50%; transform: translateX(50%); }
}

/* ===== STATS ===== */
.stats {
  padding: 60px 0;
  background: var(--primary);
  color: #fff
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center
}

.stat-item .number {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1
}

.stat-item .label {
  font-size: .95rem;
  opacity: .85;
  margin-top: 4px
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 100px 0;
  background: var(--bg-alt)
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px
}

.testimonial-card {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius);
  transition: var(--transition)
}

.testimonial-card:hover {
  box-shadow: var(--shadow)
}

.testimonial-card .stars {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 12px
}

.testimonial-card p {
  color: var(--text-light);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 16px
}

.testimonial-card .author {
  font-weight: 600;
  color: var(--text)
}

/* ===== CTA ===== */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-align: center
}

.cta h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 12px
}

.cta p {
  font-size: 1.1rem;
  opacity: .9;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap
}

/* ===== FOOTER ===== */
.footer {
  padding: 48px 0 24px;
  background: #0f172a;
  color: rgba(255, 255, 255, .7)
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px
}

.footer h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 16px
}

.footer p {
  line-height: 1.7;
  font-size: .9rem
}

.footer ul li {
  margin-bottom: 8px
}

.footer ul a:hover {
  color: var(--accent)
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 20px;
  text-align: center;
  font-size: .85rem
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .4);
  transition: var(--transition);
  cursor: pointer
}

.whatsapp-float:hover {
  transform: scale(1.1)
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #fff
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0)
}

/* ===== RESPONSIVE ===== */
@media(max-width:968px) {
  .hero .container {
    flex-direction: column;
    text-content: center
  }

  .hero-content {
    text-align: center
  }

  .hero-content h1 {
    font-size: 2.5rem
  }

  .hero-buttons {
    justify-content: center
  }

  .hero-image {
    flex: 0 0 auto;
    max-width: 320px
  }

  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr
  }

  .about-grid {
    grid-template-columns: 1fr
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .footer-grid {
    grid-template-columns: 1fr
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--primary-dark);
    flex-direction: column;
    padding: 80px 32px;
    transition: var(--transition)
  }

  .nav.active {
    right: 0
  }

  .nav a {
    color: #fff !important;
    font-size: 1.1rem
  }

  .menu-toggle {
    display: flex
  }
}

@media(max-width:480px) {
  .hero-content h1 {
    font-size: 2rem
  }

  .section-title {
    font-size: 1.75rem
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr
  }
}