/* ============================================================
   Clínica Florescendo – Estilos Principais
   Paleta: Verde (#4A7C59), Sage (#8AB5A0), Creme (#F5EFE6)
   ============================================================ */

:root {
  --verde:        #4A7C59;
  --verde-dark:   #326145;
  --verde-light:  #6BAF86;
  --sage:         #8AB5A0;
  --sage-light:   #B8D5C8;
  --creme:        #F5EFE6;
  --creme-dark:   #EAE0D4;
  --branco:       #FFFFFF;
  --texto:        #2C3830;
  --texto-leve:   #6B7A71;
  --borda:        #D8EAE2;
  --sombra:       rgba(74, 124, 89, 0.12);
  --sombra-hover: rgba(74, 124, 89, 0.22);
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Nunito', system-ui, sans-serif;
  --radius:       14px;
  --radius-lg:    22px;
  --transition:   0.3s ease;
}

/* Reset básico */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--texto);
  background: var(--branco);
  line-height: 1.7;
}
a { color: var(--verde); text-decoration: none; }
a:hover { color: var(--verde-dark); text-decoration: underline; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

/* ========== BOTÕES ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none !important;
  white-space: nowrap;
}
.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.4rem 1rem; font-size: 0.85rem; }

.btn-primary-flo {
  background: var(--verde);
  color: var(--branco);
  border-color: var(--verde);
}
.btn-primary-flo:hover {
  background: var(--verde-dark);
  border-color: var(--verde-dark);
  color: var(--branco);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--sombra-hover);
}
.btn-outline-flo {
  background: transparent;
  color: var(--verde);
  border-color: var(--verde);
}
.btn-outline-flo:hover {
  background: var(--verde);
  color: var(--branco);
}
.btn-glass {
  background: rgba(255,255,255,0.15);
  color: var(--branco);
  border-color: rgba(255,255,255,0.5);
  backdrop-filter: blur(6px);
}
.btn-glass:hover {
  background: rgba(255,255,255,0.25);
  color: var(--branco);
}
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}
.btn-whatsapp:hover {
  background: #1da851;
  border-color: #1da851;
  color: #fff;
  transform: translateY(-2px);
}
.btn-danger-flo {
  background: #dc3545;
  color: #fff;
  border-color: #dc3545;
}
.btn-danger-flo:hover { background: #b02a37; border-color: #b02a37; color: #fff; }

/* ========== NAVBAR ========== */
.navbar-florescendo {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--borda);
  transition: box-shadow var(--transition);
}
.navbar-florescendo.scrolled {
  box-shadow: 0 4px 24px var(--sombra);
}
.navbar-florescendo .container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 72px;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.brand-flower { font-size: 1.8rem; }
.brand-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--verde-dark);
  line-height: 1.2;
}
.brand-sub {
  display: block;
  font-size: 0.7rem;
  color: var(--texto-leve);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.navbar-links {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
}
.navbar-links a {
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--texto);
  transition: all var(--transition);
}
.navbar-links a:hover {
  background: var(--creme);
  color: var(--verde);
  text-decoration: none;
}
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.navbar-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--texto);
  cursor: pointer;
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--verde-dark) 0%, var(--verde) 45%, var(--sage) 100%);
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600'%3E%3Ccircle cx='400' cy='200' r='300' fill='rgba(255,255,255,0.04)'/%3E%3Ccircle cx='100' cy='500' r='200' fill='rgba(255,255,255,0.03)'/%3E%3C/svg%3E") no-repeat center/cover;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 5rem 0;
  color: var(--branco);
}
.hero-eyebrow {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.85;
  margin-bottom: 1rem;
  font-weight: 600;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.hero-desc {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 560px;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero-badges {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.hero-badges span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  opacity: 0.85;
}

/* ========== AVISO BANNER ========== */
.aviso-banner {
  background: #FFF8E7;
  border-top: 3px solid #F5A623;
  padding: 0.9rem 0;
}
.aviso-banner .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.9rem;
}
.aviso-banner i { color: #F5A623; font-size: 1.1rem; flex-shrink: 0; }
.aviso-horario {
  margin-left: auto;
  color: var(--texto-leve);
  font-size: 0.83rem;
}

/* ========== SEÇÕES ========== */
.section { padding: 5rem 0; }
.section-bg { background: var(--creme); }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--verde);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--verde-dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--verde-light); }
.section-desc {
  font-size: 1.05rem;
  color: var(--texto-leve);
  max-width: 560px;
  margin: 0 auto;
}
.section-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ========== SOBRE ========== */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}
.section-grid { display: grid; }
.sobre-text h2 { font-family: var(--font-serif); font-size: 2.2rem; color: var(--verde-dark); margin-bottom: 1rem; }
.sobre-text p { color: var(--texto); margin-bottom: 1rem; }
.sobre-list {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sobre-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.sobre-list li i { color: var(--verde); margin-top: 0.2rem; flex-shrink: 0; }
.sobre-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}
.sobre-info > div {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.sobre-info i { color: var(--verde); font-size: 1.25rem; flex-shrink: 0; margin-top: 0.1rem; }
.sobre-info strong { display: block; font-weight: 700; }
.sobre-info span { font-size: 0.9rem; color: var(--texto-leve); }
.sobre-info a { color: var(--verde); }

.sobre-horarios {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 4px 20px var(--sombra);
}
.sobre-horarios h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--verde-dark);
  margin-bottom: 1.25rem;
}
.horarios-table { width: 100%; border-collapse: collapse; }
.horarios-table td {
  padding: 0.6rem 0.5rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--borda);
}
.horarios-table td:first-child { font-weight: 600; }
.horarios-table td:last-child { text-align: right; color: var(--verde-dark); }
.horarios-table tr.fechado td { color: #dc3545; opacity: 0.7; }
.horarios-table tr:last-child td { border-bottom: none; }
.sobre-horarios .btn-whatsapp { margin-top: 1.5rem; width: 100%; justify-content: center; }

/* ========== CARDS DE SERVIÇOS ========== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}
.service-card {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  box-shadow: 0 2px 12px var(--sombra);
}
.service-card:hover {
  box-shadow: 0 8px 32px var(--sombra-hover);
  transform: translateY(-4px);
  border-color: var(--sage);
}
.service-icon {
  width: 56px; height: 56px;
  background: var(--creme);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--verde);
  margin-bottom: 1rem;
}
.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--verde-dark);
  margin-bottom: 0.4rem;
}
.service-faixa {
  font-size: 0.82rem;
  color: var(--verde);
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.service-card p { font-size: 0.92rem; color: var(--texto); margin-bottom: 0.6rem; }
.service-profissionais { font-size: 0.82rem !important; color: var(--texto-leve) !important; }
.service-modalidade {
  font-size: 0.82rem !important;
  color: var(--verde) !important;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.5rem !important;
}

/* ========== EQUIPE ========== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.team-card {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  transition: all var(--transition);
}
.team-card:hover {
  box-shadow: 0 6px 24px var(--sombra-hover);
  transform: translateY(-3px);
}
.team-avatar {
  font-size: 3rem;
  color: var(--sage);
  margin-bottom: 1rem;
}
.team-card h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--verde-dark);
  margin-bottom: 0.3rem;
}
.team-role {
  display: inline-block;
  background: var(--creme);
  color: var(--verde);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}
.team-card p { font-size: 0.88rem; color: var(--texto-leve); margin-bottom: 0.75rem; }
.team-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; justify-content: center; }
.team-tags span {
  background: var(--sage-light);
  color: var(--verde-dark);
  font-size: 0.73rem;
  padding: 0.15rem 0.6rem;
  border-radius: 50px;
  font-weight: 600;
}
.team-card.estagiarios { border: 1px dashed var(--sage); background: var(--creme); }

/* ========== CONVÊNIOS ========== */
.convenios-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.convenio-card {
  background: var(--branco);
  border: 2px solid var(--borda);
  border-radius: var(--radius);
  padding: 1.25rem 2.5rem;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--verde-dark);
  transition: all var(--transition);
  box-shadow: 0 2px 12px var(--sombra);
}
.convenio-card:hover {
  border-color: var(--verde);
  box-shadow: 0 4px 20px var(--sombra-hover);
  transform: scale(1.04);
}
.convenios-obs {
  text-align: center;
  font-size: 0.9rem;
  color: var(--texto-leve);
  line-height: 1.8;
}
.convenios-obs i { color: var(--verde); }

/* ========== ACCORDION ========== */
.info-accordion { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.accordion-item {
  border: 1px solid var(--borda);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--branco);
}
.accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--verde-dark);
  cursor: pointer;
  transition: background var(--transition);
}
.accordion-btn:hover { background: var(--creme); }
.accordion-btn i { color: var(--verde); font-size: 1.1rem; flex-shrink: 0; }
.acc-icon { margin-left: auto; transition: transform var(--transition); font-size: 0.9rem; }
.accordion-item.active .acc-icon { transform: rotate(180deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.accordion-item.active .accordion-body { max-height: 600px; }
.accordion-body ul { padding: 0 1.5rem 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.accordion-body li {
  font-size: 0.92rem;
  color: var(--texto);
  display: flex;
  gap: 0.5rem;
}
.accordion-body li::before {
  content: '•';
  color: var(--verde);
  font-weight: bold;
  flex-shrink: 0;
}

/* ========== CTA FULL ========== */
.section-cta-full { background: linear-gradient(135deg, var(--verde-dark), var(--verde)); padding: 4rem 0; }
.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-text h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--branco);
  margin-bottom: 0.5rem;
}
.cta-text p { color: rgba(255,255,255,0.85); }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ========== CONTATO ========== */
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contato-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contato-item i { font-size: 1.5rem; color: var(--verde); flex-shrink: 0; margin-top: 0.1rem; }
.contato-item strong { display: block; font-weight: 700; margin-bottom: 0.2rem; }
.contato-item p { font-size: 0.92rem; color: var(--texto-leve); margin: 0; }
.contato-item a { color: var(--verde); }
.contato-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 4px 24px var(--sombra); }

/* ========== FOOTER ========== */
.footer {
  background: var(--verde-dark);
  color: rgba(255,255,255,0.85);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.footer-brand .brand-flower { font-size: 1.5rem; }
.footer-brand strong { display: block; color: #fff; font-size: 1rem; }
.footer-brand span { display: block; font-size: 0.7rem; opacity: 0.7; text-transform: uppercase; }
.footer-cnpj { font-size: 0.78rem; opacity: 0.6; }
.footer h5 { color: var(--sage-light); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.footer ul { display: flex; flex-direction: column; gap: 0.4rem; }
.footer ul a { color: rgba(255,255,255,0.75); font-size: 0.9rem; transition: color var(--transition); }
.footer ul a:hover { color: #fff; text-decoration: none; }
.footer p { font-size: 0.88rem; line-height: 1.6; }
.footer p a { color: var(--sage-light); }
.footer p i { margin-right: 0.3rem; opacity: 0.7; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* ========== FORMULÁRIOS ========== */
.form-card {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 4px 24px var(--sombra);
}
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--texto);
  margin-bottom: 0.4rem;
}
.form-label .req { color: #dc3545; margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 0.65rem 1rem;
  border: 1.5px solid var(--borda);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--texto);
  background: var(--branco);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--verde);
  box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.15);
}
.form-control.is-invalid { border-color: #dc3545; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%236B7A71' d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.8rem center; background-size: 14px; padding-right: 2.5rem; }
.form-text { font-size: 0.8rem; color: var(--texto-leve); margin-top: 0.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
.invalid-feedback { font-size: 0.8rem; color: #dc3545; margin-top: 0.25rem; display: none; }
.form-control.is-invalid + .invalid-feedback { display: block; }

/* ========== ALERTAS ========== */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: 0.92rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.alert-success { background: #d1f5e3; border-left: 4px solid #28a745; color: #155724; }
.alert-danger  { background: #fde8e8; border-left: 4px solid #dc3545; color: #721c24; }
.alert-warning { background: #fff8e1; border-left: 4px solid #ffc107; color: #856404; }
.alert-info    { background: #d4edff; border-left: 4px solid #17a2b8; color: #0c5460; }

/* ========== BADGE ========== */
.badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}
.bg-warning  { background: #ffc107; }
.bg-success  { background: #28a745; color: #fff; }
.bg-danger   { background: #dc3545; color: #fff; }
.bg-primary  { background: var(--verde); color: #fff; }
.bg-secondary{ background: #6c757d; color: #fff; }
.text-dark   { color: #212529 !important; }

/* ========== PAGE HEADER ========== */
.page-header {
  background: linear-gradient(135deg, var(--verde-dark), var(--verde));
  color: var(--branco);
  padding: 5rem 0 3rem;
  margin-top: 72px;
}
.page-header h1 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.page-header p { opacity: 0.85; }
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  font-size: 0.85rem;
  opacity: 0.8;
  margin-top: 0.5rem;
  align-items: center;
}
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb-sep { opacity: 0.5; }

/* ========== LOADING ========== */
.spinner {
  display: inline-block;
  width: 20px; height: 20px;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.spinner-verde {
  border-color: var(--borda);
  border-top-color: var(--verde);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .navbar-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--branco); border-bottom: 1px solid var(--borda); padding: 1rem; z-index: 999; gap: 0.25rem; box-shadow: 0 8px 24px var(--sombra); }
  .navbar-links.open { display: flex; }
  .navbar-toggle { display: block; }
  .navbar-florescendo .container { position: relative; }
  .sobre-grid { grid-template-columns: 1fr; }
  .contato-grid { grid-template-columns: 1fr; }
  .cta-box { flex-direction: column; text-align: center; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
}

@media (max-width: 600px) {
  .section { padding: 3rem 0; }
  .aviso-banner .container { flex-direction: column; align-items: flex-start; }
  .aviso-horario { margin-left: 0; }
  .navbar-actions .btn-outline-flo { display: none; }
}
