/* ========================================
   Lourrane Thays - Optometrista
   Landing Page Styles
   Paleta: Rosa Claro + Dourado
   ======================================== */

:root {
  --color-primary: #E8A0BF;
  --color-primary-dark: #D67A9F;
  --color-primary-light: #FCE4EC;
  --color-gold: #C9A227;
  --color-gold-light: #F3E5AB;
  --color-gold-dark: #A08221;
  --color-text: #4A4A4A;
  --color-text-light: #6B6B6B;
  --color-heading: #3D3D3D;
  --color-white: #FFFFFF;
  --color-bg: #FFFBFC;
  --color-bg-alt: #FFF5F8;
  --color-border: #F0D5DE;
  --shadow-soft: 0 10px 40px rgba(232, 160, 191, 0.15);
  --shadow-medium: 0 15px 50px rgba(232, 160, 191, 0.2);
  --shadow-gold: 0 10px 30px rgba(201, 162, 39, 0.2);
  --radius: 20px;
  --radius-sm: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--color-heading);
  line-height: 1.2;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #C55E86 100%);
}

.btn-outline {
  border-color: var(--color-gold);
  color: var(--color-gold-dark);
  background: transparent;
}

.btn-outline:hover {
  background: var(--color-gold-light);
  transform: translateY(-3px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-xl {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 251, 252, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 160, 191, 0.15);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 30px rgba(232, 160, 191, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 1.1rem;
  box-shadow: var(--shadow-gold);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-heading);
  line-height: 1.1;
}

.logo-sub {
  font-size: 0.75rem;
  color: var(--color-gold-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}

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

.nav-list {
  display: flex;
  gap: 28px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding: 6px 0;
  transition: var(--transition);
}

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

.nav-link:hover {
  color: var(--color-primary-dark);
}

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

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

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--color-heading);
  transition: var(--transition);
}

/* Hero */
.hero {
  position: relative;
  padding: 160px 0 100px;
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-alt) 50%, var(--color-primary-light) 100%);
  overflow: hidden;
}

.hero-decoration {
  position: absolute;
  border-radius: 50%;
  background: var(--color-gold-light);
  opacity: 0.4;
}

.hero-decoration-top {
  width: 400px;
  height: 400px;
  top: -150px;
  right: -100px;
}

.hero-decoration-bottom {
  width: 300px;
  height: 300px;
  bottom: -100px;
  left: -80px;
  background: var(--color-primary);
  opacity: 0.15;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-gold-dark);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  padding: 8px 16px;
  background: var(--color-gold-light);
  border-radius: 50px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--color-heading);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-light);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-subtitle strong {
  color: var(--color-primary-dark);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

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

.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--color-white);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  box-shadow: var(--shadow-soft);
}

.badge svg {
  color: var(--color-gold);
}

.hero-image {
  display: flex;
  justify-content: center;
}

.hero-card {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: -15px;
  border: 2px solid var(--color-gold);
  border-radius: var(--radius);
  opacity: 0.5;
}

.hero-card-inner {
  background: var(--color-white);
  padding: 48px 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-medium);
  text-align: center;
  position: relative;
}

.hero-card-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

.hero-card-title {
  font-size: 1.6rem;
  margin-bottom: 14px;
  color: var(--color-heading);
}

.hero-card-text {
  color: var(--color-text-light);
  font-size: 1rem;
}

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

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.6rem;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-light);
  max-width: 600px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* About */
.section-about {
  background: var(--color-white);
}

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

.about-image {
  position: relative;
}

.about-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-medium);
  position: relative;
  z-index: 1;
}

.about-frame {
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 2px solid var(--color-gold);
  border-radius: var(--radius);
  z-index: 0;
}

.about-content .section-eyebrow,
.about-content .section-title {
  text-align: left;
}

.about-text {
  margin-bottom: 20px;
  color: var(--color-text-light);
}

.about-text strong {
  color: var(--color-primary-dark);
}

.about-list {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}

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

.about-list svg {
  color: var(--color-gold);
  flex-shrink: 0;
}

/* Services */
.section-services {
  background: var(--color-bg-alt);
}

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

.service-card {
  background: var(--color-white);
  padding: 40px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

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

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.service-title {
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: var(--color-heading);
}

.service-text {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* CTA */
.section-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-gold-light) 100%);
}

.cta-box {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 60px 40px;
  text-align: center;
  box-shadow: var(--shadow-medium);
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid var(--color-border);
}

.cta-title {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.cta-text {
  color: var(--color-text-light);
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--color-gold-dark);
  font-weight: 600;
}

.cta-phone svg {
  color: var(--color-gold);
}

/* Location */
.section-location {
  background: var(--color-white);
}

.location-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: stretch;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.location-card {
  background: var(--color-bg);
  padding: 28px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.location-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.location-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.location-address {
  font-style: normal;
  color: var(--color-text-light);
  line-height: 1.7;
}

.location-text {
  color: var(--color-text-light);
  line-height: 1.7;
}

.location-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  min-height: 400px;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  filter: grayscale(0.2);
}

/* FAQ */
.section-faq {
  background: var(--color-bg-alt);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-question {
  padding: 24px 28px;
  font-weight: 600;
  color: var(--color-heading);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--color-gold);
  transition: var(--transition);
}

.faq-item[open] .faq-question::after {
  content: '−';
}

.faq-answer {
  padding: 0 28px 24px;
  color: var(--color-text-light);
}

/* Contact */
.section-contact {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  text-align: center;
}

.section-contact .section-eyebrow {
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
}

.section-contact .section-title,
.section-contact .section-subtitle {
  color: var(--color-white);
}

.section-contact .section-subtitle {
  opacity: 0.95;
}

.contact-content {
  max-width: 700px;
  margin: 0 auto;
}

.section-contact .btn-primary {
  background: var(--color-white);
  color: var(--color-primary-dark);
  margin: 32px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.section-contact .btn-primary:hover {
  background: var(--color-gold-light);
  color: var(--color-gold-dark);
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-white);
  opacity: 0.95;
  transition: var(--transition);
}

.contact-item:hover {
  opacity: 1;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Footer */
.footer {
  background: var(--color-heading);
  color: var(--color-white);
  padding: 60px 0 24px;
}

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

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
  margin-bottom: 12px;
}

.footer-text {
  color: rgba(255, 255, 255, 0.75);
  max-width: 400px;
}

.footer-title {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--color-gold-light);
}

.footer-item {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 8px;
}

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

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    order: 1;
  }

  .hero-image {
    order: 0;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-badges {
    justify-content: center;
  }

  .about-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    max-width: 500px;
    margin: 0 auto;
  }

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

@media (max-width: 768px) {
  .header .container {
    height: 70px;
  }

  .nav-list {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: center;
    padding: 32px 24px;
    gap: 20px;
    box-shadow: var(--shadow-medium);
    transform: translateY(-150%);
    transition: transform 0.4s ease;
    z-index: 999;
  }

  .nav-list.active {
    transform: translateY(0);
  }

  .btn-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    padding: 120px 0 80px;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-card-inner {
    padding: 36px 28px;
  }

  .section-title {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 40px 28px;
  }

  .contact-info {
    flex-direction: column;
    gap: 16px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-text {
    margin: 0 auto;
  }
}

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

  .btn-lg,
  .btn-xl {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
