/* =============================================
   COPPOLA & ZAMPIERI ADVOCACIA — STYLE.CSS
   Palette: Deep Navy, Warm Ivory, Antique Gold
   Typography: Playfair Display + Inter
   ============================================= */

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy:      #0e1f35;
  --navy-dark: #081426;
  --gold:      #b8952a;
  --gold-light:#d4af50;
  --ivory:     #f8f5ef;
  --ivory-dark:#ede9e0;
  --text:      #1a1a2e;
  --text-muted:#5a5f72;
  --white:     #ffffff;
  --green-wa:  #25D366;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius: 4px;
  --radius-lg: 12px;
  --transition: 0.22s ease;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--ivory);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === BUTTONS === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green-wa);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
  white-space: nowrap;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #1eb85a;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
}

.btn-primary.btn-large {
  font-size: 1.1rem;
  padding: 18px 38px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  padding: 13px 26px;
  border-radius: 50px;
  transition: all var(--transition);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--navy);
  color: var(--white);
}

.btn-header {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--white);
  background: var(--gold);
  padding: 10px 22px;
  border-radius: 50px;
  letter-spacing: 0.02em;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn-header:hover,
.btn-header:focus-visible {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* === LABELS / EYEBROWS === */
.section-label,
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  margin-top: 10px;
  line-height: 1.25;
}

/* =============================================
   HEADER
   ============================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 2px solid var(--gold);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 12px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--gold-light);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  background: var(--navy);
  padding: 72px 0 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,149,42,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: 64px;
}

.hero-content .eyebrow {
  margin-bottom: 18px;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 22px;
  max-width: 620px;
}

.hero-content h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 26px;
}

.hero-note {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.02em;
}

.hero-bar {
  height: 6px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}

/* =============================================
   EMPATHY
   ============================================= */
.empathy {
  background: var(--white);
  padding: 68px 0;
  border-bottom: 1px solid var(--ivory-dark);
}

.empathy-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.empathy-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 16px;
}

.empathy-text p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.empathy-quote {
  background: var(--navy);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--gold);
  position: relative;
}

.empathy-quote blockquote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 16px;
}

.empathy-quote cite {
  font-size: 0.82rem;
  color: var(--gold-light);
  font-style: normal;
  letter-spacing: 0.06em;
}

/* =============================================
   SERVICES
   ============================================= */
.services {
  background: var(--ivory);
  padding: 72px 0;
}

.services .section-label { margin-bottom: 8px; }
.services .section-title { margin-bottom: 44px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.service-card:hover {
  box-shadow: 0 8px 30px rgba(14,31,53,0.10);
  transform: translateY(-3px);
  border-color: var(--gold);
}

.service-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =============================================
   WHY US
   ============================================= */
.why {
  background: var(--navy);
  padding: 72px 0;
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.why .section-label { color: var(--gold-light); margin-bottom: 8px; }

.why-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 32px;
  line-height: 1.3;
}

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.why-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.check {
  color: var(--gold);
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-list li strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.why-list li p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

.why-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(184,149,42,0.3);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.45;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, var(--ivory) 0%, #f0ece3 100%);
  padding: 80px 0;
  border-top: 1px solid var(--ivory-dark);
  border-bottom: 1px solid var(--ivory-dark);
}

.cta-inner {
  text-align: center;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-note {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 16px;
}

/* =============================================
   FAQ
   ============================================= */
.faq {
  background: var(--white);
  padding: 72px 0;
}

.faq .section-label { margin-bottom: 8px; }
.faq .section-title { margin-bottom: 40px; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 780px;
}

.faq-item {
  border: 1px solid var(--ivory-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ivory);
}

.faq-item summary {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--navy);
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 300;
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  background: var(--ivory-dark);
}

.faq-item p {
  padding: 0 24px 22px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--navy-dark);
  padding: 56px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-main {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.footer-brand .logo-sub {
  display: block;
  font-size: 0.65rem;
  color: var(--gold-light);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
}

.footer-contact a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  padding: 20px 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 6px;
}

.oab-note {
  font-size: 0.68rem !important;
  color: rgba(255,255,255,0.2) !important;
}

/* =============================================
   WHATSAPP FLOATING BUTTON
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--green-wa);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 13px 22px 13px 16px;
  border-radius: 50px;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.6);
}

/* =============================================
   RESPONSIVE — TABLET & MOBILE
   ============================================= */
@media (max-width: 768px) {
  .header-inner { gap: 10px; }
  .btn-header { font-size: 0.8rem; padding: 9px 16px; }

  /* Hero */
  .hero { padding: 52px 0 0; }
  .hero-content { padding-bottom: 52px; }
  .hero-content h1 { font-size: 2.1rem; }
  .hero-ctas { flex-direction: column; align-items: flex-start; gap: 12px; }
  .btn-primary { font-size: 0.95rem; padding: 14px 26px; }
  .btn-secondary { font-size: 0.9rem; padding: 12px 22px; }

  /* Empathy */
  .empathy { padding: 52px 0; }
  .empathy-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Services */
  .services { padding: 56px 0; }
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 26px 22px; }

  /* Why */
  .why { padding: 56px 0; }
  .why-inner { grid-template-columns: 1fr; gap: 40px; }
  .why-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 20px 18px; }
  .stat-num { font-size: 1.9rem; }

  /* CTA */
  .cta-section { padding: 60px 0; }
  .btn-primary.btn-large { font-size: 1rem; padding: 16px 28px; }

  /* FAQ */
  .faq { padding: 56px 0; }

  /* Footer */
  .footer { padding: 48px 0 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { padding: 20px 16px; }
}

@media (max-width: 420px) {
  .hero-content h1 { font-size: 1.85rem; }
  .why-visual { grid-template-columns: 1fr; }
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: 14px; }
}

/* =============================================
   REDUCED MOTION
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}