/* ============================================
   Delai: landing (instrutor autônomo credenciado)
   ============================================ */

:root {
  /* Colors - Primary: #042044 | Secondary: #EC621E */
  --color-primary: #042044;
  --color-primary-dark: #031830;
  --color-primary-light: #0a3170;
  --color-accent: #EC621E;
  --color-accent-hover: #f07a3a;
  --color-accent-muted: rgba(236, 98, 30, 0.15);
  
  --color-text: #0a1628;
  --color-text-muted: #4a5a6e;
  --color-bg: #fafbf9;
  --color-bg-alt: #eef2f8;
  --color-white: #ffffff;
  
  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing */
  --section-padding: 6rem 0;
  --container-max: 1200px;
  --container-padding: 1.5rem;
  
  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(4, 32, 68, 0.06);
  --shadow-md: 0 8px 30px rgba(4, 32, 68, 0.1);
  --shadow-lg: 0 20px 50px rgba(4, 32, 68, 0.12);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-primary-dark);
}

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

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* ============================================
   Header
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-white);
  transition: color var(--transition);
}

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

.logo-icon {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.logo-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--transition);
}

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

.nav-links a:hover {
  color: var(--color-accent);
}

.nav-links .btn-primary {
  color: var(--color-primary-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: var(--transition);
}

.header.scrolled .nav-toggle span {
  background: var(--color-primary);
}

/* ============================================
   Hero
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Shorts 9:16: escala para cobrir o viewport (object-fit: cover) */
.hero-video-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100vw, calc(100vh * 9 / 16));
  height: max(100vh, calc(100vw * 16 / 9));
  border: 0;
  transform: translate(-50%, -50%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(17, 20, 63, 0.92) 0%,
    rgba(17, 20, 63, 0.75) 50%,
    rgba(17, 20, 63, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 0;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--color-accent-muted);
  color: var(--color-accent);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-title .highlight {
  color: var(--color-accent);
  display: block;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.scroll-indicator {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.scroll-indicator::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 2px;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(12px); opacity: 0.5; }
}

/* ============================================
   Sections
   ============================================ */

.section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--color-accent-muted);
  color: var(--color-accent);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  line-height: 1.6;
}

/* ============================================
   Pains (Dores)
   ============================================ */

.pains {
  background: linear-gradient(
    180deg,
    rgba(4, 32, 68, 0.03) 0%,
    var(--color-bg-alt) 8rem
  );
}

.pains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.pain-card {
  background: var(--color-white);
  padding: 1.75rem;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(4, 32, 68, 0.08);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(236, 98, 30, 0.2);
}

.pain-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-accent);
}

.pain-icon.pain-icon--negative {
  color: var(--color-text-muted);
  opacity: 0.9;
}

.pain-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
}

.pain-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.pain-card > p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.pain-solution {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.875rem;
  background: var(--color-accent-muted);
  border-radius: 12px;
  border-left: 3px solid var(--color-accent);
}

.pain-solution .solution-arrow {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--color-accent);
  margin-top: 0.15rem;
}

.pain-solution .solution-arrow svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
}

.pain-solution span {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.4;
}

.pains-cta {
  text-align: center;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-bg-alt) 100%);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(4, 32, 68, 0.06);
}

.pains-cta p {
  font-size: 1.125rem;
  color: var(--color-text);
  margin-bottom: 1.25rem;
}

.pains-cta strong {
  color: var(--color-accent);
}

/* ============================================
   Services
   ============================================ */

.services {
  background: var(--color-white);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(4, 32, 68, 0.08), transparent);
}

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

.service-card {
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(4, 32, 68, 0.06);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(236, 98, 30, 0.15);
}

.service-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 32, 68, 0.4), transparent 50%);
}

.service-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-icon {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-accent);
}

.service-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
}

.service-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.service-content p {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  line-height: 1.5;
  flex: 1;
}

.service-link {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.9375rem;
  transition: gap var(--transition);
}

.service-link:hover {
  color: var(--color-accent);
}

/* ============================================
   Processo CNH (conteúdo / SEO)
   ============================================ */

.cnh-process {
  background: var(--color-bg-alt);
  position: relative;
}

.cnh-process-grid {
  display: grid;
  grid-template-columns: 1fr min(340px, 100%);
  gap: 3rem;
  align-items: start;
}

.cnh-process-main {
  background: var(--color-white);
  padding: 2rem 2.25rem;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(4, 32, 68, 0.06);
}

.cnh-process-lead {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 2rem;
}

.cnh-process-lead strong {
  color: var(--color-primary);
}

.cnh-steps {
  list-style: none;
  counter-reset: cnh-step;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.cnh-process__step {
  position: relative;
  padding-left: 3rem;
  counter-increment: cnh-step;
}

.cnh-process__step::before {
  content: counter(cnh-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--color-white);
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-light) 100%
  );
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.cnh-step-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.cnh-process__step p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.cnh-process-disclaimer {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  padding: 1.25rem 1.5rem;
  background: var(--color-bg);
  border-radius: 12px;
  border-left: 4px solid var(--color-accent);
}

.cnh-links {
  position: sticky;
  top: 6rem;
  background: var(--color-white);
  padding: 1.75rem;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(4, 32, 68, 0.08);
}

.cnh-links-heading {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.cnh-links-intro {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.cnh-links-list {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  margin-bottom: 1.5rem;
}

.cnh-links-list li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cnh-links-list a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.cnh-links-list a:hover {
  color: var(--color-accent);
}

.cnh-links-desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.cnh-links-cta {
  width: 100%;
  text-align: center;
}

/* ============================================
   Instructor
   ============================================ */

.instructor {
  background: var(--color-white);
}

.instructor-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.instructor-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.instructor-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.instructor-photo-stats {
  z-index: 1;
}

.instructor-content .section-badge {
  margin-bottom: 1rem;
}

.instructor-content .section-title {
  text-align: left;
  margin-bottom: 0.5rem;
}

.instructor-name {
  font-family: var(--font-sans);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.instructor-role {
  font-size: 0.9375rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.instructor-bio {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.instructor-bio p {
  margin-bottom: 1rem;
}

.instructor-bio p:last-child {
  margin-bottom: 0;
}

.instructor-bio .instructor-credentials {
  margin: 0.5rem 0 1rem;
}

.instructor-credentials {
  margin-bottom: 0;
}

.instructor-credentials li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-weight: 500;
  color: var(--color-text);
}

.credential-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.credential-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
}

/* ============================================
   About
   ============================================ */

.about {
  background: linear-gradient(
    180deg,
    var(--color-bg-alt) 0%,
    rgba(238, 242, 248, 0.5) 50%,
    var(--color-bg-alt) 100%
  );
}

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

.about-images {
  position: relative;
}

.about-image-main {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-main img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-stats {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2rem;
  background: var(--color-white);
  padding: 0.75rem 1.35rem;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  max-width: calc(100% - 10px);
  justify-content: center;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.stat-number {
  font-family: var(--font-sans);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  line-height: 1.25;
  color: var(--color-text-muted);
}

.about-content .section-badge {
  margin-bottom: 1rem;
}

.about-content .section-title {
  text-align: left;
  margin-bottom: 1.25rem;
}

.about-content > p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-features {
  margin-bottom: 2rem;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-weight: 500;
  color: var(--color-text);
}

.about-features .check {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.125rem;
}

/* ============================================
   Gallery
   ============================================ */

.gallery {
  background: var(--color-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(4, 32, 68, 0.06);
  transition: border-color var(--transition);
}

.gallery-item:hover {
  border-color: rgba(236, 98, 30, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Testimonials
   ============================================ */

.testimonials {
  background: var(--color-bg-alt);
}

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

.testimonial-card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(4, 32, 68, 0.06);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(236, 98, 30, 0.15);
}

.testimonial-stars {
  color: var(--color-accent);
  font-size: 1.125rem;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.testimonial-text {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
}

.testimonial-author strong {
  display: block;
  color: var(--color-primary);
  font-size: 0.9375rem;
}

.testimonial-author span {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ============================================
   Contact
   ============================================ */

.contact {
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
  color: var(--color-white);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info .section-badge {
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-accent);
}

.contact-info .section-title {
  color: var(--color-white);
  text-align: left;
  margin-bottom: 1rem;
}

.contact-info > p {
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--color-accent);
}

.contact-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
}

.contact-item strong {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.contact-item span {
  font-size: 0.9375rem;
  opacity: 0.9;
}

.contact-item a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-item a:hover {
  color: var(--color-accent);
}

.contact-form {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  border: 2px solid var(--color-bg-alt);
  border-radius: 12px;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form .btn-primary {
  margin-top: 0.5rem;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.footer-brand p {
  opacity: 0.8;
  font-size: 0.9375rem;
}

.footer-links h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  opacity: 0.8;
  font-size: 0.9375rem;
  transition: opacity var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--color-accent);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  opacity: 0.7;
}

/* Botão WhatsApp fixo */
.whatsapp-float {
  position: fixed;
  z-index: 1100;
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  right: max(1.25rem, env(safe-area-inset-right, 0px));
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
}

.whatsapp-float:focus-visible {
  outline: 3px solid var(--color-white);
  outline-offset: 3px;
}

.whatsapp-float__icon {
  width: 1.85rem;
  height: 1.85rem;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .cnh-process-grid {
    grid-template-columns: 1fr;
  }

  .cnh-links {
    position: static;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .instructor-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .pains-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .instructor-image img {
    height: 380px;
  }
  
  .about-grid {
    gap: 3rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 180px);
  }
  
  .gallery-item-large {
    grid-column: span 2;
    grid-row: span 2;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    transition: right var(--transition);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links a {
    color: var(--color-text);
    font-size: 1.125rem;
  }
  
  .nav-toggle {
    display: flex;
    z-index: 1001;
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .hero-cta .btn {
    width: 100%;
  }
  
  .pains-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }

  .cnh-process-main {
    padding: 1.5rem 1.25rem;
  }

  .cnh-process__step {
    padding-left: 2.75rem;
  }
  
  .instructor-image img {
    height: 320px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-images {
    order: 1;
  }
  
  .about-content {
    order: 2;
  }
  
  .about-stats {
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-links ul {
    align-items: center;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 4rem 0;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 200px);
  }
  
  .gallery-item-large {
    grid-column: span 1;
    grid-row: span 1;
  }
}
