/* =============================================
   JESSICA TOFANELLO STUDIO — CSS PRINCIPAL
   Paleta: Branco · Rosa claro · Rosê luxo
============================================= */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Montserrat', sans-serif;
  color: #3a2a2a;
  background: #fff;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ── VARIÁVEIS ── */
:root {
  --rose:      #c88b8b;
  --rose-dark: #a06060;
  --rose-soft: #f5e0dc;
  --rose-light:#fdf4f0;
  --gold:      #c9a96e;
  --white:     #ffffff;
  --text:      #3a2a2a;
  --text-soft: #7a5a5a;
  --nav-h:     72px;
  --radius:    14px;
  --shadow:    0 8px 32px rgba(180,100,70,.12);
}

/* ── TIPOGRAFIA ── */
.section-label {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--rose-dark);
  margin-bottom: .5rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--text);
  margin-bottom: .6rem;
  line-height: 1.15;
}
.section-sub {
  color: var(--text-soft);
  font-size: .95rem;
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* ── BOTÕES ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--rose);
  color: #fff;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 18px rgba(200,139,139,.35);
}
.btn-primary:hover { background: var(--rose-dark); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(160,96,96,.4); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: var(--rose-dark);
  padding: .85rem 1.8rem;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 600;
  border: 2px solid var(--rose);
  cursor: pointer;
  transition: all .2s;
}
.btn-secondary:hover { background: var(--rose-soft); transform: translateY(-2px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: var(--rose-dark);
  padding: .7rem 1.5rem;
  border-radius: 50px;
  font-size: .88rem;
  font-weight: 500;
  border: 1.5px solid var(--rose);
  cursor: pointer;
  transition: all .2s;
}
.btn-outline:hover { background: var(--rose-soft); }

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #f0ddd9;
  transition: box-shadow .2s;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(180,100,70,.1); }

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.navbar-logo img { height: 46px; width: auto; object-fit: contain; transition: opacity .2s; }
.navbar-logo:hover img { opacity: .8; }

.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-soft);
  transition: color .2s;
}
.nav-links a:hover { color: var(--rose-dark); }

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

.nav-instagram {
  font-size: 1.3rem;
  color: var(--rose);
  transition: color .2s, transform .2s;
}
.nav-instagram:hover { color: var(--rose-dark); transform: scale(1.15); }

.btn-nav {
  background: var(--rose);
  color: #fff;
  padding: .55rem 1.3rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  transition: background .2s;
  white-space: nowrap;
}
.btn-nav:hover { background: var(--rose-dark); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--rose-dark);
  border-radius: 2px;
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding-top: var(--nav-h);
}

/* Lado esquerdo */
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4rem 4rem 5rem;
  background: #fff;
}

.hero-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rose-dark);
  background: var(--rose-soft);
  padding: .45rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  width: fit-content;
}

.hero-logo { margin-bottom: 1.5rem; }
.hero-logo img { max-width: 260px; height: auto; }

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.2rem;
}
.hero-title em {
  font-style: italic;
  color: var(--rose-dark);
}

.hero-sub {
  font-size: .95rem;
  color: var(--text-soft);
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: 1.8rem;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 2rem;
}
.hero-pills span {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  font-weight: 500;
  color: var(--rose-dark);
  background: var(--rose-soft);
  padding: .4rem .9rem;
  border-radius: 50px;
}
.hero-pills span i { font-size: .7rem; color: var(--rose); }

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

.hero-address {
  font-size: .8rem;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.hero-address i { color: var(--rose); }

/* Lado direito */
.hero-right {
  position: relative;
  background: linear-gradient(135deg, #fbeee9 0%, #f5d9d0 60%, #edd0c8 100%);
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
  display: block;
}

.hero-tag {
  position: absolute;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(8px);
  padding: .5rem 1rem;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--rose-dark);
  letter-spacing: .06em;
  box-shadow: 0 4px 16px rgba(180,100,70,.15);
  border: 1px solid rgba(255,255,255,.6);
}
.tag-1 { bottom: 30%; right: 1.5rem; }
.tag-2 { bottom: 22%; right: 1.5rem; }

/* ── SECTIONS GERAL ── */
.section { padding: 6rem 1.5rem; }
.container { max-width: 1200px; margin: 0 auto; }

/* ── ESPECIALIDADES ── */
.especialidades { background: var(--rose-light); text-align: center; }
.especialidades .section-sub { margin: 0 auto 2.5rem; }

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

.card-esp {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: left;
  box-shadow: 0 4px 20px rgba(180,100,70,.07);
  border: 1px solid #f0ddd9;
  transition: transform .2s, box-shadow .2s;
}
.card-esp:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.card-icon {
  width: 48px; height: 48px;
  background: var(--rose-soft);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.card-icon i { font-size: 1.1rem; color: var(--rose-dark); }

.card-esp h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: .6rem;
  color: var(--text);
}
.card-esp p { font-size: .86rem; color: var(--text-soft); line-height: 1.65; margin-bottom: 1.2rem; }

.card-link {
  font-size: .8rem;
  font-weight: 600;
  color: var(--rose-dark);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  transition: gap .2s, color .2s;
}
.card-link:hover { gap: .6rem; color: var(--rose); }

/* ── SOBRE ── */
.sobre { background: #fff; }
.sobre-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.sobre-fotos {
  position: relative;
  height: 540px;
}
.sobre-img-main {
  position: absolute;
  top: 0; left: 0;
  width: 75%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.sobre-img-sec {
  position: absolute;
  bottom: 0; right: 0;
  width: 50%;
  height: 65%;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 4px solid #fff;
}

.sobre-linha {
  width: 48px; height: 2px;
  background: var(--rose);
  margin: .8rem 0 1.4rem;
}
.sobre-desc { font-size: .93rem; color: var(--text-soft); line-height: 1.8; margin-bottom: 1.1rem; }

/* ── FORMAÇÃO ── */
.formacao { background: var(--rose-light); }
.formacao-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: center;
}
.formacao-img-wrap img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  object-position: center top;
  max-height: 500px;
}

.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding-bottom: 1.8rem;
  position: relative;
}
.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 20px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--rose), var(--rose-soft));
}
.timeline-dot {
  min-width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--rose);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--rose);
  margin-top: 2px;
  flex-shrink: 0;
}
.timeline-content { display: flex; flex-direction: column; gap: .2rem; }
.form-curso {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text);
}
.form-escola {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--rose-dark);
}

/* ── GALERIA INSTAGRAM (Elfsight) ── */
.galeria-instagram { background: #fff; text-align: center; }
.galeria-instagram .section-sub { margin: 0 auto 2rem; }

.elfsight-wrap {
  width: 100%;
  min-height: 300px;
  margin-bottom: 2rem;
}

.galeria-footer {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

/* ── CONTATO ── */
.contato { background: var(--rose-light); text-align: center; }
.contato .section-sub { margin: 0 auto 2.5rem; }

.contato-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.contato-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  box-shadow: 0 4px 20px rgba(180,100,70,.07);
  border: 1px solid #f0ddd9;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
}
.contato-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.contato-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: .4rem;
}
.contato-icon.wpp  { background: #e6f8ee; color: #25d366; }
.contato-icon.tel  { background: var(--rose-soft); color: var(--rose-dark); }
.contato-icon.insta{ background: #fce4ee; color: #c13584; }
.contato-card h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 500; }
.contato-card p { font-size: .85rem; color: var(--text-soft); }
.contato-cta {
  margin-top: .5rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--rose-dark);
  padding: .4rem 1rem;
  border-radius: 50px;
  background: var(--rose-soft);
  transition: background .2s;
}
.contato-card:hover .contato-cta { background: var(--rose); color: #fff; }

.endereco-box {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
  background: #fff;
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(180,100,70,.07);
  text-align: left;
  border: 1px solid #f0ddd9;
}
.endereco-info h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 500;
  display: flex; align-items: center; gap: .5rem;
  margin-bottom: .8rem;
}
.endereco-info h4 i { color: var(--rose); }
.endereco-info p { font-size: .9rem; color: var(--text-soft); line-height: 1.8; margin-bottom: 1.2rem; }
.mapa-wrap { border-radius: var(--radius); overflow: hidden; }

/* ── FOOTER ── */
.footer { background: #2e1e1e; color: #f0ddd9; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
}
.footer-brand p { font-size: .85rem; color: #c0a0a0; line-height: 1.7; margin: 1rem 0 1.5rem; }
.footer-logo-wrap {
  background: #fff;
  border-radius: 12px;
  padding: 14px 20px;
  display: inline-block;
  box-shadow: 0 2px 16px rgba(0,0,0,.2);
  border: 1px solid #f0ddd9;
}
.footer-logo-wrap img { max-width: 200px; height: auto; }

.btn-wpp-footer {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #25d366;
  color: #fff;
  padding: .7rem 1.4rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  transition: background .2s;
}
.btn-wpp-footer:hover { background: #1fb558; }

.footer-col h5 {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--rose-soft);
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul li, .footer-col ul a {
  font-size: .85rem;
  color: #c0a0a0;
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  line-height: 1.5;
}
.footer-col ul a:hover { color: var(--rose-soft); }
.footer-col ul li i { color: var(--rose); margin-top: 2px; flex-shrink: 0; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .8rem;
  color: #906060;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-social { display: flex; gap: 1rem; }
.footer-social a {
  color: #906060;
  font-size: 1.1rem;
  transition: color .2s, transform .2s;
}
.footer-social a:hover { color: var(--rose-soft); transform: scale(1.15); }

/* ── WhatsApp FLUTUANTE ── */
.wpp-float {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  z-index: 900;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 1.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  animation: wppPulse 2.5s infinite;
  transition: transform .2s;
}
.wpp-float:hover { transform: scale(1.12); }
@keyframes wppPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,.4); }
  50%       { box-shadow: 0 6px 32px rgba(37,211,102,.65); }
}

/* ── LGPD BANNER ── */
.lgpd-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 5rem;
  background: #fff;
  border: 1px solid #f0ddd9;
  border-radius: 14px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 20px rgba(58,42,42,.1);
  z-index: 800;
  flex-wrap: wrap;
  font-size: .82rem;
  color: var(--text-soft);
}
.lgpd-banner p { flex: 1; min-width: 200px; }
.lgpd-banner strong { color: var(--rose-dark); }
.lgpd-banner a { color: var(--rose-dark); text-decoration: underline; }
.btn-lgpd {
  background: var(--rose);
  color: #fff;
  border: none;
  padding: .5rem 1.2rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
}
.btn-lgpd:hover { background: var(--rose-dark); }
.lgpd-banner.hidden { display: none; }

/* ── RESPONSIVO ── */
@media (max-width: 1024px) {
  .hero-left { padding: 4rem 2.5rem 3rem; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .formacao-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .formacao-img-wrap { max-width: 420px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  /* Navbar mobile */
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(255,255,255,.98);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 1rem 0 2rem;
    box-shadow: 0 8px 24px rgba(58,42,42,.1);
    border-bottom: 1px solid #f0ddd9;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .9rem 2rem; width: 100%; text-align: center; font-size: .9rem; }
  .hamburger { display: flex; }
  .btn-nav { display: none; }

  /* Hero mobile: coluna única */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-right {
    height: 55vw;
    min-height: 260px;
    max-height: 400px;
    order: -1;
  }
  .hero-left { padding: 2rem 1.5rem 3rem; }
  .hero-title { font-size: clamp(2rem, 7vw, 2.8rem); }
  .hero-logo img { max-width: 200px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn-primary, .hero-ctas .btn-secondary { width: 100%; justify-content: center; }
  .tag-1, .tag-2 { display: none; }

  /* Seções */
  .section { padding: 4rem 1.2rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .sobre-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .sobre-fotos { height: 360px; }
  .contato-cards { grid-template-columns: 1fr; }
  .galeria-grid { grid-template-columns: 1fr 1fr; }
  .endereco-box { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .lgpd-banner { right: 1rem; }
}

@media (max-width: 480px) {
  .hero-pills { gap: .4rem; }
  .hero-pills span { font-size: .72rem; }
  .hero-badge { font-size: .65rem; }
  .galeria-grid { grid-template-columns: 1fr; }
  .galeria-pair { height: 180px; }
}
