/* =========================================================
   FLAKES ACADEMY — LANDING PAGE
   Design tokens
   ========================================================= */
:root{
  --gold:        #B47E26;
  --gold-light:  #BFA166;
  --white:       #FFFFFF;
  --dark:        #33373d;
  --mint:        #CDEAE7;
  --mint-deep:   #A9D9D4;
  --whats-green: #25D366;
  --whats-green-dark: #128C4A;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-clean: 0 10px 30px rgba(51,55,61,0.07), 0 2px 8px rgba(51,55,61,0.05);
  --shadow-clean-hover: 0 16px 40px rgba(51,55,61,0.12), 0 4px 10px rgba(51,55,61,0.06);
  --radius: 16px;
  --radius-sm: 10px;

  --container: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font);
  color:var(--dark);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ text-decoration:none; color:inherit; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4,p{ margin:0; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; }
:focus-visible{ outline:3px solid var(--gold); outline-offset:3px; }

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

.eyebrow{
  display:inline-block;
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--gold);
  margin-bottom:14px;
}

.section-title{
  font-size:clamp(1.6rem, 4vw, 2.6rem);
  font-weight:800;
  letter-spacing:-0.01em;
  color:var(--dark);
  line-height:1.15;
}
.section-sub{
  margin-top:12px;
  font-size:clamp(.95rem, 1.6vw, 1.1rem);
  color:#5b6068;
  font-weight:400;
  max-width:640px;
}

.section{
  padding:clamp(56px, 8vw, 100px) 0;
}
.section--mint{ background:var(--mint); }
.section--dark{ background:var(--dark); color:var(--white); }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:16px 30px;
  border-radius:100px;
  font-weight:700;
  font-size:.95rem;
  letter-spacing:.01em;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease;
  white-space:nowrap;
}
.btn--gold{
  background:linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color:var(--white);
  box-shadow:0 10px 24px rgba(180,126,38,.35);
}
.btn--gold:hover{ transform:translateY(-2px); box-shadow:0 14px 30px rgba(180,126,38,.45); }
.btn--outline{
  background:transparent;
  border:2px solid var(--white);
  color:var(--white);
}
.btn--outline:hover{ background:var(--white); color:var(--dark); }
.btn--dark-outline{
  background:transparent;
  border:2px solid var(--dark);
  color:var(--dark);
}
.btn--dark-outline:hover{ background:var(--dark); color:var(--white); }
.btn--whats{
  background:var(--whats-green);
  color:var(--white);
  box-shadow:0 10px 24px rgba(37,211,102,.35);
}
.btn--whats:hover{ background:var(--whats-green-dark); transform:translateY(-2px); }
.btn--sm{ padding:12px 22px; font-size:.85rem; }
.btn--block{ width:100%; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header{
  position:sticky;
  top:0;
  z-index:900;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(10px);
  box-shadow:0 1px 0 rgba(51,55,61,.06);
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:82px;
}
.logo img{ height:44px; width:auto; }

.nav-menu{
  display:flex;
  align-items:center;
  gap:36px;
}
.nav-menu a{
  font-weight:600;
  font-size:.94rem;
  color:var(--dark);
  position:relative;
  padding:6px 0;
}
.nav-menu a::after{
  content:'';
  position:absolute;
  left:0; bottom:0;
  height:2px; width:0;
  background:var(--gold);
  transition:width .25s ease;
}
.nav-menu a:hover::after{ width:100%; }

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

.menu-toggle{
  display:none;
  width:44px; height:44px;
  align-items:center; justify-content:center;
  border-radius:50%;
  background:var(--mint);
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after{
  content:'';
  display:block;
  width:20px; height:2px;
  background:var(--dark);
  position:relative;
  transition:.25s ease;
}
.menu-toggle span::before{ position:absolute; top:-7px; }
.menu-toggle span::after{ position:absolute; top:7px; }
.menu-toggle.is-active span{ background:transparent; }
.menu-toggle.is-active span::before{ transform:rotate(45deg); top:0; }
.menu-toggle.is-active span::after{ transform:rotate(-45deg); top:0; }

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position:relative;
  background:#3a674e!important;
  color:var(--white);
  padding:clamp(60px, 10vw, 120px) 0 clamp(70px, 9vw, 110px);
  overflow:hidden;
}
.hero::before{
  content:'';
  position:absolute;
  right:-120px; top:-160px;
  width:480px; height:480px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(180,126,38,.35) 0%, rgba(180,126,38,0) 70%);
}
.hero::after{
  content:'';
  position:absolute;
  left:-140px; bottom:-180px;
  width:420px; height:420px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(205,234,231,.14) 0%, rgba(205,234,231,0) 70%);
}
.hero-inner{
  position:relative;
  z-index:2;
  max-width:760px;
}
.hero h1{
  font-size:clamp(1.9rem, 5vw, 3.4rem);
  font-weight:800;
  line-height:1.14;
  letter-spacing:-0.01em;
}
.hero h1 .accent{ color:var(--gold-light); }
.hero p{
  margin-top:22px;
  font-size:clamp(1rem, 2vw, 1.2rem);
  color:#cfd3d8;
  font-weight:500;
}
.hero-actions{
  margin-top:36px;
  display:flex;
  flex-wrap:wrap;
  gap:16px;
}
.hero-stats{
  margin-top:56px;
  display:flex;
  flex-wrap:wrap;
  gap:clamp(24px, 5vw, 56px);
}
.hero-stats div strong{
  display:block;
  font-size:clamp(1.4rem, 3vw, 2rem);
  font-weight:800;
  color:var(--gold-light);
}
.hero-stats div span{
  font-size:.8rem;
  color:#b7bcc3;
  font-weight:600;
}

/* =========================================================
   COURSES TEASER BLOCK
   ========================================================= */
.teaser{
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.teaser .btn{ margin-top:30px; }

/* =========================================================
   GALLERY GRID
   ========================================================= */
.gallery-grid{
  margin-top:44px;
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:16px;
}
.gallery-grid figure{
  margin:0;
  border-radius:var(--radius-sm);
  overflow:hidden;
  box-shadow:var(--shadow-clean);
  aspect-ratio:4/5;
  background:var(--mint);
  transition:box-shadow .3s ease, transform .3s ease;
}
.gallery-grid figure:hover{ box-shadow:var(--shadow-clean-hover); transform:translateY(-4px); }
.gallery-grid img{ width:100%; height:100%; object-fit:cover; }
.gallery-grid figure.tall{ grid-row:span 2; }

/* =========================================================
   QUEM SOMOS
   ========================================================= */
.about{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:clamp(30px, 6vw, 72px);
  align-items:center;
}
.about-media img{
  border-radius:var(--radius);
  box-shadow:var(--shadow-clean);
}
.about-text p{
  margin-top:18px;
  color:#4d525a;
  line-height:1.7;
  font-size:1rem;
}
.about-text .highlight{
  font-weight:700;
  color:var(--dark);
}

/* =========================================================
   CHEFS
   ========================================================= */
.chef-row{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:clamp(28px, 5vw, 60px);
  align-items:center;
  padding:clamp(30px, 5vw, 50px) 0;
  border-bottom:1px solid rgba(51,55,61,.08);
}
.chef-row:last-child{ border-bottom:none; }
.chef-row.reverse{ direction:rtl; }
.chef-row.reverse > *{ direction:ltr; }
.chef-photo{
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow-clean);
}
.chef-photo img{ width:100%; height:100%; object-fit:cover; }
.chef-name{
  font-size:clamp(1.3rem, 2.6vw, 1.7rem);
  font-weight:800;
  color:var(--gold);
  margin-bottom:14px;
}
.chef-bio{
  color:#4d525a;
  line-height:1.75;
  font-size:.98rem;
}

/* =========================================================
   COURSE SHOWCASE GALLERY
   ========================================================= */
.showcase-grid{
  margin-top:44px;
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:16px;
}
.showcase-grid figure{
  margin:0;
  border-radius:var(--radius-sm);
  overflow:hidden;
  box-shadow:var(--shadow-clean);
  aspect-ratio:4/5;
  transition:box-shadow .3s ease, transform .3s ease;
}
.showcase-grid figure:hover{ box-shadow:var(--shadow-clean-hover); transform:translateY(-4px); }
.showcase-grid img{ width:100%; height:100%; object-fit:cover; }

/* =========================================================
   VIDEO BLOCK
   ========================================================= */
.video-block{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:clamp(30px, 6vw, 64px);
  align-items:center;
}
.video-frame{
  position:relative;
  padding-top:56.25%;
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow-clean);
  background:var(--dark);
}
.video-frame iframe{
  position:absolute; inset:0; width:100%; height:100%; border:0;
}
.video-text p{
  margin-top:16px;
  color:#4d525a;
  line-height:1.75;
}

/* =========================================================
   STATS / MÍDIA
   ========================================================= */
.stats-grid{
  margin-top:44px;
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:20px;
}
.stat-card{
  background:var(--white);
  border-radius:var(--radius);
  padding:30px 22px;
  text-align:center;
  box-shadow:var(--shadow-clean);
}
.stat-card strong{
  display:block;
  font-size:clamp(1.6rem, 3vw, 2.2rem);
  font-weight:800;
  color:var(--gold);
}
.stat-card span{
  display:block;
  margin-top:8px;
  font-size:.85rem;
  color:#5b6068;
  font-weight:600;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{
  background:#3868af!important;
  color:var(--white);
  padding:clamp(50px, 7vw, 80px) 0 30px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.1fr 1fr 1fr;
  gap:clamp(30px, 6vw, 60px);
}
.footer-col h4{
  font-size:.78rem;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--gold-light);
  margin-bottom:20px;
  font-weight:700;
}
.footer-logo img{ height:38px; margin-bottom:18px; }
.footer-col p{ color:#b7bcc3; line-height:1.7; font-size:.92rem; }

.social-list{ display:flex; flex-direction:column; gap:14px; }
.social-list a{
  display:flex; align-items:center; gap:12px;
  font-weight:600; font-size:.94rem;
  color:var(--white);
  transition:color .2s ease, transform .2s ease;
}
.social-list a:hover{ color:var(--gold-light); transform:translateX(4px); }
.social-list .icon{
  width:36px; height:36px;
  border-radius:50%;
  background:rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.social-list .icon svg{ width:18px; height:18px; }

.map-frame{
  margin-top:18px;
  border-radius:var(--radius-sm);
  overflow:hidden;
  box-shadow:var(--shadow-clean);
  height:220px;
}
.map-frame iframe{ width:100%; height:100%; border:0; }

.directions-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}
.directions-row a{
  flex:1 1 auto;
  text-align:center;
  padding:10px 14px;
  border-radius:100px;
  background:rgba(255,255,255,.08);
  font-size:.82rem;
  font-weight:700;
  transition:background .2s ease;
}
.directions-row a:hover{ background:rgba(255,255,255,.18); }

.footer-bottom{
  margin-top:50px;
  padding-top:24px;
  border-top:1px solid rgba(255,255,255,.12);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
  text-align:center;
}
.footer-bottom img{ height:30px; opacity:.9; }
.footer-bottom small{ color:#9a9fa6; font-size:.8rem; }

/* =========================================================
   WHATSAPP FLOATING BUTTON — motion effect
   ========================================================= */
.whats-float{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:1000;
  width:64px; height:64px;
  border-radius:50%;
  background:var(--whats-green);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 24px rgba(37,211,102,.45);
  animation:whats-pulse 2.2s infinite;
}
.whats-float svg{ width:32px; height:32px; }
.whats-float::before{
  content:'';
  position:absolute;
  inset:0;
  border-radius:50%;
  background:var(--whats-green);
  animation:whats-ring 2.2s infinite;
  z-index:-1;
}
@keyframes whats-pulse{
  0%,100%{ transform:scale(1); }
  50%{ transform:scale(1.08); }
}
@keyframes whats-ring{
  0%{ opacity:.55; transform:scale(1); }
  100%{ opacity:0; transform:scale(2.1); }
}
@media (prefers-reduced-motion: reduce){
  .whats-float, .whats-float::before{ animation:none; }
}

/* =========================================================
   CALENDAR PAGE
   ========================================================= */
.page-hero{
  background: #3868af;
  color:var(--white);
  padding:60px 0 50px;
  text-align:center;
}
.page-hero .eyebrow{ color:var(--gold-light); }
.page-hero h1{
  font-size:clamp(1.8rem, 4.6vw, 2.8rem);
  font-weight:800;
}
.page-hero p{
  margin-top:14px;
  color:#cfd3d8;
  max-width:560px;
  margin-left:auto;
  margin-right:auto;
}

.month-block{ margin-bottom:56px; }
.month-block:last-child{ margin-bottom:0; }
.month-title{
  display:flex;
  align-items:center;
  gap:16px;
  font-size:clamp(1.2rem, 2.6vw, 1.6rem);
  font-weight:800;
  color:var(--gold);
  margin-bottom:26px;
}
.month-title::after{
  content:'';
  flex:1;
  height:1px;
  background:rgba(51,55,61,.15);
}

.course-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:20px;
}
.course-card{
  background:var(--white);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow-clean);
  display:flex;
  flex-direction:column;
  transition:box-shadow .3s ease, transform .3s ease;
}
.course-card:hover{ box-shadow:var(--shadow-clean-hover); transform:translateY(-3px); }
.course-thumb{
  height:250px;
  background:linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  overflow:hidden;
}
.course-thumb img{ width:100%; height:100%; object-fit:cover; }
.course-thumb .date-chip{
  position:absolute;
  top:12px; left:12px;
  background:#05a520d9!important;
  color:var(--white);
  font-size:.98rem!important;
  font-weight:700;
  padding:6px 12px;
  border-radius:100px;
  letter-spacing:.02em;
}
.course-body{ padding:22px 22px 24px; display:flex; flex-direction:column; gap:6px; flex:1; }
.course-body .chef{ font-size:.8rem; font-weight:700; color:var(--gold); text-transform:uppercase; letter-spacing:.05em; }
.course-body h3{ font-size:1.15rem; font-weight:800; color:var(--dark); }
.course-body .time{ font-size:.85rem; color:#5b6068; font-weight:600; }
.course-body .price{ font-size:1.1rem; font-weight:800; color:var(--dark); margin-top:6px; }
.course-body .price small{ font-weight:600; color:#8a8f96; font-size:.72rem; display:block; margin-top:2px; }
.course-body .btn{ margin-top:14px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px){
  .nav-menu, .nav-cta .btn--dark-outline{ display:none; }
  .menu-toggle{ display:flex; }
  .nav-menu.is-open{
    display:flex;
    flex-direction:column;
    position:absolute;
    top:82px; left:0; right:0;
    background:var(--white);
    padding:20px 24px 30px;
    box-shadow:var(--shadow-clean);
    gap:20px;
  }
  .about, .video-block{ grid-template-columns:1fr; }
  .about-media{ order:-1; }
  .chef-row{ grid-template-columns:1fr; }
  .chef-row.reverse{ direction:ltr; }
  .chef-photo{ max-width:320px; margin:0 auto; }
  .gallery-grid, .showcase-grid{ grid-template-columns:repeat(2, 1fr); }
  .stats-grid{ grid-template-columns:repeat(2, 1fr); }
  .footer-grid{ grid-template-columns:1fr; gap:40px; }
  .course-grid{ grid-template-columns:1fr; }
}

@media (max-width: 560px){
  .container{ padding:0 18px; }
  .hero h1{ font-size:clamp(1.55rem, 7vw, 2rem); }
  .hero p{ font-size:.95rem; }
  .section-title{ font-size:clamp(1.35rem, 6vw, 1.8rem); }
  .btn{ padding:14px 22px; font-size:.88rem; }
  .gallery-grid, .showcase-grid{ grid-template-columns:repeat(2, 1fr); gap:10px; }
  .whats-float{ width:56px; height:56px; right:16px; bottom:16px; }
  .whats-float svg{ width:28px; height:28px; }
  .hero-stats{ gap:22px; }
  .stats-grid{ grid-template-columns:1fr 1fr; }
}
