/*
Theme Name: Frederico Costa - Máquina de Vendas
Theme URI: https://fredericocosta.com
Author: Frederico Costa
Author URI: https://fredericocosta.com
Description: Landing page profissional para consultoria de Growth, Ads e Estratégia
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: frederico-costa
*/

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

:root {
  --lime: #c8f000;
  --dark: #1f1f1f;
  --dark-card: #262626;
  --white: #ffffff;
  --gray-text: rgba(255, 255, 255, 0.7);
  --gray-light: rgba(255, 255, 255, 0.5);
  --destructive: #ef4444;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===== BUTTONS ===== */
.btn-lime {
  display: inline-block;
  background-color: var(--lime);
  color: var(--dark);
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-lime:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  padding: 4rem 0 6rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(31, 31, 31, 0.85);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.hero-label {
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.hero-title {
  font-size: clamp(1.875rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  max-width: 900px;
  margin: 0 auto 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 800px;
  margin: 0 auto 2.5rem;
}

.hero-subtitle .highlight {
  color: var(--lime);
  font-weight: 600;
}

/* ===== SECTION DARK ===== */
.section-dark {
  background-color: var(--dark);
  color: var(--white);
}

/* ===== METHODOLOGY SECTION ===== */
.methodology {
  padding: 4rem 0 6rem;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-text);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.methodology-card {
  background-color: var(--dark-card);
  border: 2px solid var(--lime);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
}

.check-circle {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--lime);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}

.check-circle svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--dark);
}

.methodology-card h3 {
  color: var(--lime);
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.methodology-card p {
  color: var(--gray-text);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ===== SKILLS SECTION ===== */
.skills {
  padding: 4rem 0 6rem;
}

.skills-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .skills-wrapper {
    flex-direction: row;
    align-items: flex-start;
  }
}

.skills-photo {
  width: 100%;
}

@media (min-width: 1024px) {
  .skills-photo {
    width: 33.333%;
  }
}

.skills-photo-placeholder {
  aspect-ratio: 3/4;
  background-color: var(--dark-card);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray-light);
}

.skills-photo img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  object-fit: cover;
  aspect-ratio: 3/4;
}

.skills-grid-wrapper {
  width: 100%;
}

@media (min-width: 1024px) {
  .skills-grid-wrapper {
    width: 66.666%;
  }
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

@media (min-width: 768px) {
  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.skill-card {
  background-color: var(--dark-card);
  border: 2px solid var(--lime);
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
}

.skill-card h3 {
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.skill-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.skills-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ===== STATS SECTION ===== */
.stats {
  padding: 3rem 0;
  border-top: 1px solid var(--lime);
  border-bottom: 1px solid var(--lime);
  background-color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: clamp(2.5rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: #6b7280;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
  padding: 4rem 0 6rem;
  background-color: var(--white);
}

.testimonials .section-title {
  color: var(--dark);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-card {
  position: relative;
  aspect-ratio: 16/9;
  background-color: var(--dark);
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
}

.testimonial-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(31, 31, 31, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-button {
  width: 4rem;
  height: 4rem;
  background-color: #ef4444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.testimonial-card:hover .play-button {
  transform: scale(1.1);
}

.play-button svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--white);
  margin-left: 4px;
}

.testimonial-name {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background-color: rgba(31, 31, 31, 0.7);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  color: var(--white);
  font-size: 0.875rem;
}

.testimonials-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ===== CONTACT FORM SECTION ===== */
.contact-form-section {
  padding: 4rem 0 6rem;
}

.contact-form {
  max-width: 450px;
  margin: 0 auto;
}

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

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

.form-group.has-error input,
.form-group.has-error select {
  border-color: var(--destructive);
  box-shadow: 0 0 0 2px var(--destructive);
}

.form-error {
  color: var(--destructive);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  background-color: var(--dark-card);
  color: var(--white);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input::placeholder {
  color: var(--gray-light);
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 2px var(--lime);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.25rem;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-select option {
  background-color: var(--dark-card);
  color: var(--white);
}

.form-submit {
  width: 100%;
  margin-top: 1rem;
}

.form-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ===== FOOTER ===== */
.footer {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .hero {
    padding: 3rem 0 4rem;
  }
  
  .methodology,
  .skills,
  .testimonials,
  .contact-form-section {
    padding: 3rem 0 4rem;
  }
}
