/*
Theme Name: Creche Minha Escola Astra Child
Theme URI: https://example.com/
Description: Astra Child Theme for Creche Minha Escola, optimized for Elementor and based on the supplied reference layout.
Author: Custom
Template: astra
Version: 2.0.0
Text Domain: creche-minha-escola
*/

:root{
  --cme-pink:#d61b78;
  --cme-pink-dark:#b51464;
  --cme-blue:#8fc2e4;
  --cme-blue-soft:#dcecf6;
  --cme-blue-dark:#153d57;
  --cme-mint:#79bea8;
  --cme-mint-dark:#5ea48f;
  --cme-cream:#fffdf9;
  --cme-text:#334650;
  --cme-muted:#66777f;
  --cme-white:#fff;
  --cme-shadow:0 14px 40px rgba(21,61,87,.12);
  --cme-radius:6px;
  --cme-max:1160px;
}

html{scroll-behavior:smooth}
body{
  color:var(--cme-text);
  background:#fff;
  font-family:"Nunito Sans",Arial,sans-serif;
  font-size:15px;
  line-height:1.7;
}
body.elementor-page{overflow-x:hidden}

h1,h2,h3,h4,h5,h6{
  font-family:"Kalam","Comic Sans MS",cursive;
  font-weight:700;
  letter-spacing:-.01em;
}

p:last-child{margin-bottom:0}
a{transition:color .2s ease,background-color .2s ease,transform .2s ease,box-shadow .2s ease}

/* Astra header */
.ast-builder-menu-1 .menu-item > a,
.main-header-menu .menu-item > a{
  font-family:"Nunito Sans",Arial,sans-serif;
  font-size:12px;
  font-weight:700;
  letter-spacing:.01em;
}
.ast-builder-menu-1 .menu-item > a:hover,
.main-header-menu .menu-item > a:hover{color:var(--cme-pink)}
.ast-primary-header-bar{border-bottom:1px solid rgba(21,61,87,.06)}

/* Generic Elementor containers */
.elementor-section > .elementor-container,
.e-con-inner{max-width:var(--cme-max)}
.elementor-widget-heading .elementor-heading-title{margin:0}
.elementor-widget-text-editor{color:var(--cme-text)}

.cs-pink{color:var(--cme-pink)!important}
.cs-section-blue{background:var(--cme-blue)}
.cs-section-mint{background:var(--cme-mint)}
.cs-section-cream{background:var(--cme-cream)}

.cs-section-title,
.cs-section-title-wrap .elementor-heading-title{
  color:var(--cme-pink);
  text-align:center;
  font-size:31px;
  line-height:1.15;
  margin:0;
}
.cs-title-blue{color:#70b3dc!important}
.cs-title-dark{color:var(--cme-blue-dark)!important}

/* Soft handwritten section titles */
.cs-section-title-wrap,
.cs-about-heading{
  padding-top:56px!important;
  padding-bottom:30px!important;
}
.cs-section-title-wrap .elementor-heading-title,
.cs-about-heading .elementor-heading-title{
  display:inline-block;
  position:relative;
}
.cs-section-title-wrap .elementor-heading-title:after,
.cs-about-heading .elementor-heading-title:after{
  content:"";
  display:block;
  width:42px;
  height:3px;
  margin:8px auto 0;
  border-radius:100%;
  background:currentColor;
  opacity:.25;
}

/* HERO — close to the supplied screenshot */
.cs-hero{
  position:relative;
  overflow:hidden;
  min-height:600px;
  display:flex;
  align-items:center;
  background:#f8fbfd!important;
  padding-top:42px!important;
  padding-bottom:92px!important;
}
.cs-hero > .elementor-container{position:relative;z-index:2;width:100%}
.cs-hero .elementor-column{display:flex;align-items:center}
.cs-hero .elementor-column:first-child{padding-left:2px}
.cs-hero .elementor-column:last-child{padding-left:18px}
.cs-hero .elementor-widget-image{width:100%}
.cs-hero .elementor-widget-image img{
  width:100%;
  height:500px;
  object-fit:cover;
  border-radius:0 0 0 80px;
  box-shadow:var(--cme-shadow);
}
.cs-hero-form{
  position:relative;
  z-index:4;
  max-width:390px;
  background:rgba(255,255,255,.96);
  border:1px solid #9ec1d5;
  border-radius:6px;
  box-shadow:0 18px 45px rgba(21,61,87,.15);
  padding:27px 28px 24px!important;
}
.cs-hero-form:before{
  content:"";
  position:absolute;
  width:70px;height:70px;
  border:2px dashed rgba(214,27,120,.25);
  border-radius:50%;
  left:-28px;top:-30px;
  z-index:-1;
}
.cs-hero-form .elementor-heading-title{
  color:var(--cme-pink)!important;
  font-size:35px!important;
  line-height:1.08;
}
.cs-hero-form .elementor-widget-text-editor{font-size:13px;line-height:1.5;color:#63727a}
.cs-hero-form input,
.cs-hero-form select,
.cs-hero-form textarea{
  box-sizing:border-box;
  width:100%;
  border:1px solid #9fc4d9;
  background:var(--cme-blue-soft);
  border-radius:3px;
  padding:9px 11px;
  margin-bottom:8px;
  min-height:38px;
  color:var(--cme-text);
}
.cs-hero-form input:focus,
.cs-hero-form select:focus,
.cs-hero-form textarea:focus,
.cs-contact input:focus,
.cs-contact select:focus,
.cs-contact textarea:focus{outline:2px solid rgba(214,27,120,.18);border-color:var(--cme-pink)}
.cs-hero-form .elementor-button,
.cs-button,
.cs-contact .elementor-button{
  background:#087ac1!important;
  color:#fff!important;
  border:0;
  border-radius:3px;
  padding:10px 20px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
  box-shadow:0 5px 14px rgba(8,122,193,.18);
}
.cs-hero-form .elementor-button:hover,
.cs-button:hover,
.cs-contact .elementor-button:hover{background:var(--cme-pink)!important;transform:translateY(-1px)}
.cs-hero:after{
  content:"";
  position:absolute;
  left:-5%;right:-5%;bottom:-76px;height:145px;
  background:#fff;
  border-radius:50% 50% 0 0/60% 60% 0 0;
  z-index:3;
}

/* ABOUT */
.cs-about-card{
  padding:54px 0 64px!important;
  color:#fff;
}
.cs-about-card > .elementor-container{align-items:center}
.cs-about-card .elementor-column:first-child{padding-right:26px}
.cs-about-card .elementor-column:last-child{padding-left:26px}
.cs-about-image img,
.cs-about-card .elementor-widget-image img{
  width:100%;
  max-height:320px;
  object-fit:cover;
  border-radius:7px;
  box-shadow:0 15px 35px rgba(21,61,87,.18);
}
.cs-about-card .elementor-heading-title{
  color:#fff;
  font-size:27px;
  margin-bottom:13px;
}
.cs-about-card .elementor-widget-text-editor{color:rgba(255,255,255,.94);font-size:13px;line-height:1.7}

/* ACTIVITIES */
.cs-activities{padding-bottom:55px!important}
.cs-activities > .elementor-container{gap:0}
.cs-activity-card,
.cs-activities .elementor-column{
  text-align:center;
  padding:15px 24px 20px;
}
.cs-activity-card img,
.cs-activities .elementor-widget-image img{
  height:145px;
  width:100%;
  object-fit:contain;
  border-radius:5px;
}
.cs-activity-card h3,
.cs-activities .elementor-heading-title{
  color:var(--cme-blue-dark);
  font-size:22px;
  margin:12px 0 7px;
}
.cs-activities .elementor-widget-text-editor{font-size:13px;line-height:1.6;color:#63727a}

/* MINT CARE BAND */
.cs-wave-section{
  position:relative;
  overflow:hidden;
  padding:58px 0 105px!important;
  color:#fff;
}
.cs-wave-section .elementor-heading-title{color:#fff;font-size:30px}
.cs-wave-section .elementor-widget-text-editor{max-width:720px;margin:12px auto 0;color:rgba(255,255,255,.96);font-size:13px;text-align:center}
.cs-wave-section:after,
.cs-testimonials:after{
  content:"";
  position:absolute;
  left:-8%;right:-8%;bottom:-85px;height:150px;
  background:#fff;
  border-radius:50% 50% 0 0/55% 55% 0 0;
}

.cs-section-mint:not(.cs-wave-section){padding:0 0 65px!important;color:#fff}
.cs-mini-card,
.cs-section-mint:not(.cs-wave-section) .elementor-column{text-align:center;padding:0 15px}
.cs-mini-card img,
.cs-section-mint:not(.cs-wave-section) .elementor-widget-image img{
  width:100%;height:125px;object-fit:cover;border-radius:5px;
  box-shadow:0 8px 20px rgba(21,61,87,.12)
}
.cs-mini-card h4,
.cs-section-mint:not(.cs-wave-section) .elementor-heading-title{
  font-size:18px;color:#fff;margin:12px 0 5px
}
.cs-section-mint:not(.cs-wave-section) .elementor-widget-text-editor{color:rgba(255,255,255,.94);font-size:12px;line-height:1.55}

/* EXTRA CLASSES */
.cs-icon-row{padding-bottom:55px!important}
.cs-icon-row .elementor-column{text-align:center;padding:0 14px}
.cs-icon-row .elementor-widget-text-editor{color:var(--cme-pink);font-size:34px;line-height:1}
.cs-icon-row .elementor-heading-title{color:var(--cme-blue-dark);font-size:20px;margin:10px 0 4px}
.cs-icon-row .elementor-widget-text-editor:last-child{font-size:12px;color:#65757d;line-height:1.55}

/* BLOG */
.cs-blog{padding-bottom:65px!important}
.cs-blog .elementor-column{padding:0 9px}
.cs-blog .elementor-column > .elementor-element{height:100%}
.cs-blog .elementor-widget-image img{
  width:100%;height:160px;object-fit:cover;border-radius:6px 6px 0 0
}
.cs-blog .elementor-heading-title{
  font-family:"Nunito Sans",Arial,sans-serif;
  font-size:16px;line-height:1.25;color:#17252d;margin:12px 0 7px
}
.cs-blog .elementor-widget-text-editor{font-size:12px;line-height:1.55;color:#68777e}
.cs-blog .elementor-button{font-size:10px;padding:8px 15px;background:#087ac1;border-radius:3px;margin-top:8px}

/* Give blog columns the appearance of cards even with Elementor's classic structure */
.cs-blog .elementor-column{background:#fff;border:1px solid #e4eaed;border-radius:6px;overflow:hidden;box-shadow:0 7px 22px rgba(21,61,87,.06)}
.cs-blog .elementor-column > .elementor-element:not(.elementor-widget-image){padding-left:15px;padding-right:15px}
.cs-blog .elementor-widget-button{padding-bottom:15px!important}

/* SPACES */
.cs-spaces{padding-bottom:70px!important}
.cs-spaces .elementor-column{padding:0 7px}
.cs-spaces .elementor-widget-image img{
  height:190px;width:100%;object-fit:cover;border-radius:6px;filter:saturate(.94)
}
.cs-spaces .elementor-heading-title{font-size:18px;color:var(--cme-blue-dark);margin-top:8px}

/* TESTIMONIAL */
.cs-testimonials{
  position:relative;overflow:hidden;background:var(--cme-blue);color:#fff;
  padding:67px 0 105px!important;text-align:center
}
.cs-testimonials .elementor-heading-title{color:#fff;font-size:29px}
.cs-testimonial{max-width:760px;margin:14px auto 0;text-align:center;font-family:"Kalam",cursive;font-size:17px;line-height:1.65;color:#fff}
.cs-testimonials small{font-family:"Nunito Sans",Arial,sans-serif;font-size:11px;opacity:.9}

/* GALLERY */
.cs-gallery{padding-bottom:75px!important}
.cs-gallery .elementor-column{padding:0 4px}
.cs-gallery .elementor-widget-image img{width:100%;height:220px;object-fit:cover;border-radius:4px}
.cs-gallery .elementor-widget-image img:hover{transform:scale(1.015)}

/* CONTACT */
.cs-contact{padding-bottom:70px!important}
.cs-contact > .elementor-container{align-items:center}
.cs-contact .elementor-column{padding:0 18px}
.cs-contact .elementor-heading-title{color:var(--cme-blue-dark);font-size:25px}
.cs-contact .elementor-widget-text-editor{font-size:12px;line-height:1.7}
.cs-contact input,
.cs-contact select,
.cs-contact textarea{
  box-sizing:border-box;width:100%;border:1px solid #9fc4d9;background:var(--cme-blue-soft);
  border-radius:3px;padding:9px 10px;margin-bottom:7px;color:var(--cme-text)
}
.cs-contact textarea{min-height:110px;resize:vertical}
.cs-contact .elementor-widget-image img{width:100%;height:260px;object-fit:cover;border-radius:5px}

/* Footer */
.cs-footer{background:var(--cme-pink);color:#fff;text-align:center;padding:17px 15px!important;font-size:11px}
.cs-footer .elementor-widget-text-editor{color:#fff}

/* Floating WhatsApp — hidden unless a URL is supplied through the widget/link */
.cs-whatsapp{position:fixed;right:18px;bottom:18px;z-index:9999}
.cs-whatsapp a{display:flex;width:44px;height:44px;border-radius:50%;align-items:center;justify-content:center;background:#25d366;color:#fff;box-shadow:0 6px 20px rgba(0,0,0,.18);font-size:22px}
.cs-whatsapp a:hover{transform:translateY(-2px);color:#fff}

/* Reveal animation added by theme JS */
.cs-reveal{opacity:0;transform:translateY(20px);transition:opacity .65s ease,transform .65s ease}
.cs-reveal.cs-visible{opacity:1;transform:none}

/* Elementor editor should never hide elements */
.elementor-editor-active .cs-reveal{opacity:1!important;transform:none!important}

@media (max-width:1024px){
  .cs-hero{min-height:540px}
  .cs-hero .elementor-widget-image img{height:450px}
  .cs-hero-form{padding:23px!important}
  .cs-hero-form .elementor-heading-title{font-size:31px!important}
  .cs-about-card .elementor-column:first-child{padding-right:15px}
  .cs-about-card .elementor-column:last-child{padding-left:15px}
}

@media (max-width:767px){
  body{font-size:14px}
  .cs-section-title,
  .cs-section-title-wrap .elementor-heading-title{font-size:27px}
  .cs-section-title-wrap,.cs-about-heading{padding-top:42px!important;padding-bottom:22px!important}

  .cs-hero{display:block;min-height:0;padding:25px 18px 95px!important}
  .cs-hero > .elementor-container{display:flex;flex-direction:column;gap:24px}
  .cs-hero .elementor-column{width:100%!important;padding:0!important}
  .cs-hero-form{max-width:none;width:100%;box-sizing:border-box}
  .cs-hero-form .elementor-heading-title{font-size:29px!important}
  .cs-hero .elementor-widget-image img{height:320px;border-radius:0 0 0 55px}
  .cs-hero:after{bottom:-92px;height:150px}

  .cs-about-card{padding:35px 18px 50px!important}
  .cs-about-card .elementor-column{padding:0!important}
  .cs-about-card .elementor-column + .elementor-column{margin-top:24px}
  .cs-about-card .elementor-widget-image img{max-height:280px}

  .cs-activities{padding:0 18px 35px!important}
  .cs-activities .elementor-column{padding:10px 5px 25px}
  .cs-activities .elementor-widget-image img{height:120px}

  .cs-wave-section{padding:48px 18px 100px!important}
  .cs-section-mint:not(.cs-wave-section){padding:0 18px 45px!important}
  .cs-section-mint:not(.cs-wave-section) .elementor-column{padding:10px 4px 24px}

  .cs-icon-row{padding:0 18px 40px!important}
  .cs-icon-row .elementor-column{padding:10px 6px}

  .cs-blog{padding:0 18px 45px!important}
  .cs-blog .elementor-column{padding:0;margin:0 0 18px}
  .cs-blog .elementor-widget-image img{height:190px}

  .cs-spaces{padding:0 18px 50px!important}
  .cs-spaces .elementor-column{padding:0 0 18px}
  .cs-spaces .elementor-widget-image img{height:210px}

  .cs-testimonials{padding:50px 18px 100px!important}
  .cs-testimonial{font-size:15px}

  .cs-gallery{padding:0 18px 50px!important}
  .cs-gallery .elementor-column{padding:3px}
  .cs-gallery .elementor-widget-image img{height:145px}

  .cs-contact{padding:0 18px 50px!important}
  .cs-contact .elementor-column{padding:0!important}
  .cs-contact .elementor-column + .elementor-column{margin-top:25px}
  .cs-contact .elementor-widget-image img{height:220px}

  .cs-footer{padding:14px 10px!important}
}

@media (max-width:480px){
  .cs-hero{padding-left:12px!important;padding-right:12px!important}
  .cs-hero-form{padding:20px!important}
  .cs-hero .elementor-widget-image img{height:265px}
  .cs-about-card,.cs-activities,.cs-wave-section,.cs-section-mint:not(.cs-wave-section),.cs-icon-row,.cs-blog,.cs-spaces,.cs-testimonials,.cs-gallery,.cs-contact{padding-left:12px!important;padding-right:12px!important}
  .cs-gallery .elementor-column{width:50%!important}
  .cs-gallery .elementor-widget-image img{height:125px}
  .cs-icon-row .elementor-column{width:50%!important}
}
