/* Atelier Damy Inforzato - Stylesheet */
/* Core Web Vitals optimized - minimal, efficient CSS */

:root {
  --bg: #fffeeb;
  --primary: #1a3a6b;
  --primary-light: #2a5298;
  --accent: #ff9800;
  --accent-hover: #f57c00;
  --text: #2c2c2c;
  --text-light: #555;
  --white: #fff;
  --gray-light: #f5f5f0;
  --gray: #e0e0d8;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
  --max-width: 1200px;
  --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-heading: Georgia, 'Times New Roman', serif;
}

/* === RESET & BASE === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.3; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
p { margin-bottom: 1rem; }
ul { list-style: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 80px 0; }
.text-center { text-align: center; }
.text-white { color: var(--white); }

/* === HEADER & NAV === */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo-link { display: flex; align-items: center; gap: 12px; }
.logo-link img { height: 52px; width: auto; }
.site-logo-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.2;
}
.main-nav { display: flex; gap: 4px; }
.main-nav a {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  transition: all var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  background: var(--primary);
  color: var(--white);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--primary);
  padding: 8px;
}

/* === HERO BANNER === */
.hero-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--primary);
}
.hero-banner img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-banner .banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.3));
}

/* === SECTIONS === */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 {
  color: var(--primary);
  margin-bottom: 12px;
}
.section-title p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}
.section-title .divider {
  width: 80px;
  height: 3px;
  background: var(--accent);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* === DIFERENCIAIS === */
.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.diferencial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.diferencial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.diferencial-card .icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}
.diferencial-card h3 {
  color: var(--primary);
  margin-bottom: 12px;
}
.diferencial-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* === SOBRE NOS === */
.sobre-nos {
  background: var(--white);
}
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.sobre-grid .sobre-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.sobre-grid .sobre-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sobre-text h2 {
  color: var(--primary);
  margin-bottom: 20px;
}
.sobre-text p {
  color: var(--text-light);
  font-size: 1.02rem;
  text-align: justify;
}
.sobre-badges {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--bg);
  border-radius: 24px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}
.badge .badge-icon { font-size: 1.2rem; }

/* === SERVICOS / CARDS === */
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.servico-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.servico-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.servico-card .card-img {
  width: 100%;
  height: 200px;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--primary-light);
}
.servico-card .card-body {
  padding: 28px;
}
.servico-card h3 {
  color: var(--primary);
  margin-bottom: 12px;
}
.servico-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.servico-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--accent);
}
.servico-card .card-link:hover { gap: 10px; }

/* === AVALIACOES === */
.avaliacoes-section {
  background: var(--primary);
}
.avaliacoes-section .section-title h2 { color: var(--white); }
.avaliacoes-section .section-title p { color: rgba(255,255,255,0.8); }
.avaliacoes-section .divider { background: var(--accent); }
.avaliacoes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.avaliacao-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}
.avaliacao-card::before {
  content: '\201C';
  position: absolute;
  top: 12px;
  left: 20px;
  font-size: 4rem;
  color: var(--accent);
  font-family: Georgia, serif;
  line-height: 1;
  opacity: 0.4;
}
.avaliacao-card .stars {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.avaliacao-card p {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.avaliacao-card .author {
  font-weight: 700;
  color: var(--primary);
  font-style: normal;
}
.avaliacao-card .author-detail {
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: normal;
}

/* === CTA BANNER === */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 60px 24px;
  text-align: center;
}
.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}
.cta-banner p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 28px;
  font-size: 1.1rem;
}
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255,152,0,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

/* === GALERIA === */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}
.galeria-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: transform var(--transition);
}
.galeria-item:hover { transform: scale(1.03); }
.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.galeria-item:hover img { transform: scale(1.08); }

/* === HORARIOS === */
.horarios-section {
  background: var(--white);
}
.horarios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.horario-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 32px;
  border-left: 4px solid var(--accent);
}
.horario-card h3 {
  color: var(--primary);
  margin-bottom: 16px;
}
.horario-card ul li {
  padding: 6px 0;
  border-bottom: 1px dashed var(--gray);
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}
.horario-card ul li:last-child { border-bottom: none; }
.horario-card .dia { font-weight: 600; }
.horario-card .hora { color: var(--accent); font-weight: 700; }

/* === CONTATO === */
.contato-section { background: var(--bg); }
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contato-info-list { display: flex; flex-direction: column; gap: 20px; }
.contato-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contato-item .ci-icon {
  font-size: 1.6rem;
  min-width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contato-item .ci-text strong {
  display: block;
  color: var(--primary);
  margin-bottom: 2px;
}
.contato-item .ci-text span,
.contato-item .ci-text a {
  color: var(--text-light);
  font-size: 0.95rem;
}
.contato-item .ci-text a:hover { color: var(--accent); }
.contato-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  min-height: 300px;
}
.contato-map iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
}

/* === SOCIAL === */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition);
}
.social-links a:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
}

/* === FOOTER === */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-col h4 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 1.1rem;
}
.footer-col p { font-size: 0.9rem; line-height: 1.6; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.85rem;
}

/* === PAGE SPECIFIC: INNER PAGES === */
.page-hero {
  background: var(--primary);
  padding: 60px 0 40px;
  text-align: center;
}
.page-hero h1 {
  color: var(--white);
  margin-bottom: 8px;
}
.breadcrumb {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--accent); }

/* === TECHNIQUES LIST === */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.tech-item {
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: var(--shadow);
  font-weight: 600;
  color: var(--primary);
}

/* === PROFESSORES === */
.professores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.professor-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow);
}
.professor-card .prof-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.professor-card h3 { color: var(--primary); margin-bottom: 4px; }
.professor-card .cargo { color: var(--accent); font-weight: 600; font-size: 0.9rem; }

/* === INTERESSADOS === */
.interessados-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}
.interessados-list span {
  padding: 8px 20px;
  background: var(--white);
  border-radius: 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  box-shadow: var(--shadow);
}

/* === SCROLL ANIMATION === */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === WHATSAPP FLOAT === */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 999;
  transition: transform var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  color: var(--white);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 16px; }
  .sobre-grid,
  .contato-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .section-padding { padding: 48px 0; }
  .diferenciais-grid,
  .servicos-grid,
  .avaliacoes-grid { grid-template-columns: 1fr; }
  .horarios-grid { grid-template-columns: 1fr; }
  .galeria-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}
