/* Gripp Odontologia - Site Institucional */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600&display=swap');

:root {
  --dourado-fosco: #C9A86A;
  --off-white: #F8F6F2;
  --bege-nude: #ECE5DD;
  --cinza-chumbo: #4A4A4A;
  --preto-elegante: #1C1C1C;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--cinza-chumbo);
  background-color: var(--off-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--preto-elegante);
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.3;
}

h3 {
  font-size: 2rem;
  font-weight: 500;
}

p {
  margin-bottom: 1rem;
  font-weight: 300;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(248, 246, 242, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(201, 168, 106, 0.2);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 80px;
  width: auto;
}

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

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
}

.nav-link {
  text-decoration: none;
  color: var(--preto-elegante);
  font-weight: 400;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--dourado-fosco);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--dourado-fosco);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.header-whatsapp {
  background: var(--dourado-fosco);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(201, 168, 106, 0.3);
}

.header-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(201, 168, 106, 0.4);
  filter: brightness(1.1);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--preto-elegante);
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: var(--preto-elegante);
  color: var(--off-white);
  padding: 120px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  color: var(--off-white);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--bege-nude);
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--dourado-fosco);
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid var(--dourado-fosco);
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 106, 0.4);
  filter: brightness(1.1);
}

.btn-secondary {
  background: transparent;
  color: var(--off-white);
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid var(--off-white);
  display: inline-block;
}

.btn-secondary:hover {
  background: var(--off-white);
  color: var(--preto-elegante);
  transform: translateY(-2px);
}

.hero-image {
  position: relative;
}

.hero-image-placeholder {
  width: 100%;
  height: 400px;
  background: var(--bege-nude);
  border-radius: 20px;
  border: 3px solid var(--dourado-fosco);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cinza-chumbo);
  font-style: italic;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bege-nude);
}

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

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--cinza-chumbo);
  max-width: 600px;
  margin: 0 auto;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(201, 168, 106, 0.1);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(201, 168, 106, 0.2);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--dourado-fosco);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
  font-size: 1.5rem;
}

.card h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* Tratamentos Grid */
.tratamentos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.tratamento-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.tratamento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(201, 168, 106, 0.2);
}

.tratamento-image {
  width: 100%;
  height: 200px;
  background: var(--bege-nude);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cinza-chumbo);
  font-style: italic;
}

.tratamento-content {
  padding: 1.5rem;
}

.tratamento-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.tratamento-content p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.btn-small {
  background: var(--dourado-fosco);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

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

/* CTA Section */
.cta-section {
  background: var(--dourado-fosco);
  color: white;
  text-align: center;
}

.cta-section h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-section .btn-primary {
  background: white;
  color: var(--dourado-fosco);
  border-color: white;
}

.cta-section .btn-primary:hover {
  background: var(--off-white);
}

/* Footer */
.footer {
  background: var(--preto-elegante);
  color: var(--off-white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--dourado-fosco);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--off-white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--dourado-fosco);
}

.footer-bottom {
  border-top: 1px solid rgba(201, 168, 106, 0.2);
  padding-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

.footer-credits a {
  color: var(--dourado-fosco);
  text-decoration: none;
}

.footer-credits a:hover {
  text-decoration: underline;
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--off-white);
    flex-direction: column;
    padding: 1rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(201, 168, 106, 0.2);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-menu li {
    margin-bottom: 1rem;
  }
  
  .nav-menu li:last-child {
    margin-bottom: 0;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
  }
  
  .tratamentos-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .header-container {
    padding: 0 1rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  .hero {
    padding: 100px 0 60px;
  }
  
  .section {
    padding: 60px 0;
  }
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Accordion for FAQ */
.accordion {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.accordion-item {
  border-bottom: 1px solid rgba(201, 168, 106, 0.2);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  background: none;
  border: none;
  width: 100%;
  padding: 1.5rem;
  text-align: left;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header:hover {
  background: var(--off-white);
}

.accordion-content {
  padding: 0 1.5rem 1.5rem;
  display: none;
}

.accordion-content.active {
  display: block;
}

.accordion-icon {
  transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
  transform: rotate(180deg);
}

