:root{
  --purple: #3B1464;
  --purple-deep: #2A0E49;
  --pink: #EC1E79;
  --blue: #29ABE2;
  --yellow: #FFC72C;
  --cream: #FFFAF0;
  --cream-2: #FFF2DD;
  --ink: #241238;
  --radius-lg: 28px;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:'Quicksand', sans-serif;
  color:var(--ink);
  background:var(--cream);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3,.display{
  font-family:'Baloo 2', sans-serif;
  margin:0;
}
a{text-decoration:none;color:inherit;}
img{max-width:100%;display:block;}
.wrap{max-width:1120px;margin:0 auto;padding:0 24px;}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline:3px solid var(--blue);
  outline-offset:3px;
  border-radius:6px;
}

/* ---------- Header ---------- */
header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,250,240,0.9);
  backdrop-filter:blur(8px);
  border-bottom:2px solid var(--cream-2);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 24px;
  max-width:1120px; margin:0 auto;
}
.brand{display:flex; align-items:center; gap:12px;}
.brand .logo-circle{
  width:52px; height:52px; border-radius:50%; overflow:hidden;
  border:2px solid var(--yellow);
  flex-shrink:0;
}
.brand .logo-circle img{width:100%;height:100%;object-fit:cover;}
.brand-name{
  font-family:'Baloo 2', sans-serif;
  font-weight:700; font-size:1.25rem; color:var(--purple);
  line-height:1;
}
.brand-name span{color:var(--pink);}
nav.links{display:flex; gap:28px; font-weight:600; font-size:0.95rem;}
nav.links a{color:var(--purple); position:relative; padding:4px 0;}
nav.links a:hover{color:var(--pink);}
.nav-cta{
  background:var(--pink); color:#fff; padding:10px 20px;
  border-radius:999px; font-weight:700; font-size:0.9rem;
  box-shadow:0 4px 0 var(--purple-deep);
  transition:transform .15s ease;
}
.nav-cta:hover{transform:translateY(-2px);}
.menu-toggle{display:none; background:none; border:none; font-size:1.6rem; color:var(--purple); cursor:pointer;}

@media(max-width:820px){
  nav.links{
    position:fixed; top:76px; left:0; right:0;
    background:var(--cream); flex-direction:column; gap:0;
    padding:12px 24px 20px; border-bottom:2px solid var(--cream-2);
    transform:translateY(-130%); transition:transform .25s ease;
    max-height:calc(100vh - 76px); overflow-y:auto;
  }
  nav.links.open{transform:translateY(0);}
  nav.links a{padding:12px 0; border-bottom:1px solid var(--cream-2);}
  .menu-toggle{display:block;}
  .nav-cta{display:none;}
}

/* ---------- crenellation divider (signature element) ---------- */
.crenel{
  height:26px; width:100%;
  background-image: linear-gradient(45deg, transparent 75%, var(--yellow) 75%), linear-gradient(-45deg, transparent 75%, var(--yellow) 75%);
  background-size:26px 26px;
  background-position: 0 0;
  background-repeat: repeat-x;
}
.crenel.flip{transform:rotate(180deg);}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  background:radial-gradient(circle at 20% 20%, #F6D9E9 0%, transparent 45%),
             radial-gradient(circle at 85% 15%, #CFEBFA 0%, transparent 40%),
             var(--cream);
  padding:64px 0 40px;
  overflow:hidden;
}
.hero .wrap{
  display:grid; grid-template-columns:1.1fr 0.9fr; gap:40px; align-items:center;
}
.eyebrow-row{display:flex; flex-wrap:wrap; gap:8px; margin-bottom:18px;}
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  background:#fff; border:2px solid var(--yellow);
  color:var(--purple); font-weight:700; font-size:0.8rem;
  padding:6px 14px; border-radius:999px;
}
.hero h1{
  font-size:clamp(2.2rem, 4.2vw, 3.4rem);
  color:var(--purple); line-height:1.05; font-weight:800;
}
.hero p.lead{
  margin-top:18px; font-size:1.15rem; color:#4b3866; max-width:46ch;
}
.hero-ctas{display:flex; gap:14px; margin-top:28px; flex-wrap:wrap;}
.btn{
  display:inline-flex; align-items:center; gap:8px;
  font-family:'Baloo 2', sans-serif; font-weight:700; font-size:1rem;
  padding:14px 26px; border-radius:999px; cursor:pointer; border:none;
  transition:transform .15s ease, box-shadow .15s ease;
}
.btn-primary{background:var(--pink); color:#fff; box-shadow:0 5px 0 var(--purple-deep);}
.btn-primary:hover{transform:translateY(-3px);}
.btn-secondary{background:#fff; color:var(--purple); border:2px solid var(--purple); }
.btn-secondary:hover{background:var(--purple); color:#fff;}
.btn-small{padding:9px 18px; font-size:0.85rem;}

.hero-photo-frame{
  position:relative; justify-self:center;
  width:min(420px, 100%);
}
.hero-photo-frame .ring{
  position:absolute; inset:-18px; border-radius:50%;
  border:3px dashed var(--blue); animation:spin 40s linear infinite;
  pointer-events:none;
}
@keyframes spin{to{transform:rotate(360deg);}}
.hero-photo-frame .photo-img{
  border-radius:50%; overflow:hidden; box-shadow:0 20px 40px rgba(59,20,100,0.25);
  border:6px solid #fff; aspect-ratio:1/1;
}
.hero-photo-frame .photo-img img{width:100%; height:100%; object-fit:cover; display:block;}
.floaty{position:absolute; font-size:1.8rem;}
@media (prefers-reduced-motion: no-preference){
  .floaty{animation:bob 4s ease-in-out infinite;}
}
@keyframes bob{0%,100%{transform:translateY(0);}50%{transform:translateY(-12px);}}
.f1{top:-10px; left:-20px; animation-delay:.2s;}
.f2{bottom:10px; right:-24px; animation-delay:1s; font-size:1.4rem;}
.f3{bottom:-16px; left:20%; animation-delay:1.8s; font-size:1.5rem;}

@media(max-width:820px){
  .hero .wrap{grid-template-columns:1fr; text-align:center;}
  .hero p.lead{margin-left:auto;margin-right:auto;}
  .hero-ctas{justify-content:center;}
}

/* ---------- rain guarantee banner ---------- */
.banner{
  background:var(--purple); color:#fff; padding:16px 0;
}
.banner .wrap{
  display:flex; align-items:center; justify-content:center; gap:12px;
  text-align:center; font-weight:600; flex-wrap:wrap;
}
.banner strong{color:var(--yellow);}

/* ---------- Section generic ---------- */
section{padding:76px 0;}
.section-head{max-width:640px; margin:0 auto 44px; text-align:center;}
.kicker{
  font-weight:700; color:var(--pink); letter-spacing:.08em;
  text-transform:uppercase; font-size:0.8rem;
}
.section-head h2{
  font-size:clamp(1.8rem,3vw,2.4rem); color:var(--purple); margin-top:8px;
}
.section-head p{color:#5c4a78; margin-top:12px; font-size:1.05rem;}

/* ---------- About ---------- */
.about{background:#fff;}
.about-grid{
  display:grid; grid-template-columns:0.9fr 1.1fr; gap:48px; align-items:center;
}
.about-art{
  border-radius:var(--radius-lg);
  aspect-ratio:1/1;
  overflow:hidden;
  position:relative;
  box-shadow:0 16px 32px rgba(59,20,100,0.15);
}
.about-art img{width:100%; height:100%; object-fit:cover;}
.about-copy p{font-size:1.05rem; line-height:1.7; color:#4b3866; margin-bottom:16px;}
.stat-row{display:flex; gap:28px; margin-top:24px; flex-wrap:wrap;}
.stat .num{font-family:'Baloo 2'; font-size:2rem; color:var(--pink); font-weight:800;}
.stat .label{font-size:0.85rem; color:#5c4a78; font-weight:600;}

@media(max-width:820px){
  .about-grid{grid-template-columns:1fr;}
}

/* ---------- Video (facade dentro de about-art + modal) ---------- */
.video-facade{cursor:pointer; background:#000;}
.video-facade img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0.85;}
.video-play-btn{
  position:absolute; top:50%; left:50%; transform:translate(-50%, -50%);
  width:72px; height:72px; border-radius:50%; border:none;
  background:var(--pink); color:#fff;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition:transform .15s ease, background .15s ease;
}
.video-facade:hover .video-play-btn{transform:translate(-50%, -50%) scale(1.08); background:var(--purple);}
.video-play-btn svg{margin-left:4px;}
.video-modal{
  position:fixed; inset:0; background:rgba(36,18,56,0.92); z-index:200;
  display:none; align-items:center; justify-content:center; padding:24px;
}
.video-modal.open{display:flex;}
.video-modal-body{
  position:relative; width:min(900px,92vw); aspect-ratio:16/9;
  border-radius:16px; overflow:hidden; box-shadow:0 20px 60px rgba(0,0,0,0.4);
}
.video-modal-body iframe{position:absolute; inset:0; width:100%; height:100%; border:0;}
.video-modal-close{
  position:absolute; top:20px; right:24px; background:#fff; color:var(--purple);
  border:none; width:44px; height:44px; border-radius:50%; font-size:1.3rem; cursor:pointer;
}

/* ---------- Catalogue ---------- */
.catalog{background:var(--cream-2);}
.catalog-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:28px;
}
.product-card{
  background:#fff; border-radius:var(--radius-lg); overflow:hidden;
  box-shadow:0 8px 24px rgba(59,20,100,0.08);
  transition:transform .2s ease, box-shadow .2s ease;
  display:flex; flex-direction:column;
}
.product-card:hover{transform:translateY(-6px); box-shadow:0 16px 32px rgba(59,20,100,0.15);}
.product-card-media{position:relative; aspect-ratio:4/3; overflow:hidden; background:var(--cream-2);}
.product-card-media img{width:100%; height:100%; object-fit:cover; transition:transform .35s ease;}
.product-card:hover .product-card-media img{transform:scale(1.06);}
.product-card-tag{
  position:absolute; top:14px; left:14px;
  background:rgba(255,255,255,0.92); color:var(--purple);
  font-weight:700; font-size:0.72rem; text-transform:uppercase; letter-spacing:.04em;
  padding:5px 12px; border-radius:999px;
}
.product-card-body{padding:22px 22px 24px; display:flex; flex-direction:column; gap:10px; flex:1;}
.product-card-body h3{font-size:1.2rem; color:var(--purple);}
.product-card-body p{font-size:0.92rem; color:#5c4a78; line-height:1.55; flex:1;}
.product-card-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:4px;}
.link-more{font-weight:700; color:var(--blue); font-size:0.9rem;}
.link-more:hover{color:var(--pink);}

@media(max-width:900px){.catalog-grid{grid-template-columns:1fr 1fr;}}
@media(max-width:600px){.catalog-grid{grid-template-columns:1fr;}}

/* ---------- Equipements / features ---------- */
.equip{background:#fff;}
.equip-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px;
}
.equip-card{
  background:var(--cream-2); border-radius:var(--radius-lg); padding:28px 24px;
}
.equip-icon{
  width:56px; height:56px; border-radius:16px;
  display:flex; align-items:center; justify-content:center;
  font-size:1.7rem; margin-bottom:16px; background:#fff;
}
.equip-card h3{font-size:1.1rem; color:var(--purple); margin-bottom:8px;}
.equip-card p{font-size:0.92rem; color:#5c4a78; line-height:1.6;}

@media(max-width:820px){.equip-grid{grid-template-columns:1fr 1fr;}}
@media(max-width:560px){.equip-grid{grid-template-columns:1fr;}}

/* ---------- Tarifs ---------- */
.tarifs{background:var(--cream-2);}
.tarif-card{
  max-width:720px; margin:0 auto;
  background:var(--purple);
  border-radius:var(--radius-lg);
  padding:48px 40px;
  color:#fff; text-align:center;
  position:relative; overflow:hidden;
}
.tarif-card::before{
  content:"";
  position:absolute; width:260px; height:260px; border-radius:50%;
  background:rgba(255,199,44,0.15); top:-100px; right:-80px;
}
.tarif-card h3{font-size:1.6rem; margin-bottom:12px;}
.tarif-card p{color:#E4D9F3; font-size:1rem; line-height:1.6; max-width:52ch; margin:0 auto 24px;}
.tarif-card .btn-primary{background:var(--yellow); color:var(--purple-deep); box-shadow:0 5px 0 #C99400;}

.tarifs-table-wrap{overflow-x:auto;}
.tarifs table, .product-copy table{
  width:100%; min-width:520px;
  border-collapse:separate; border-spacing:0 12px;
}
.tarifs table thead th, .product-copy table thead th{
  text-align:left; font-family:'Baloo 2', sans-serif; font-size:0.85rem;
  text-transform:uppercase; letter-spacing:.04em; color:#5c4a78;
  padding:0 20px 8px;
}
.tarifs table tbody tr, .product-copy table tbody tr{background:#fff;}
.tarifs table td, .product-copy table td{
  padding:18px 20px; font-size:0.95rem; color:var(--ink);
  border-top:1px solid var(--cream-2); border-bottom:1px solid var(--cream-2);
}
.tarifs table tr td:first-child, .product-copy table tr td:first-child{
  border-left:1px solid var(--cream-2); border-radius:16px 0 0 16px;
  font-family:'Baloo 2', sans-serif; font-weight:700; color:var(--purple);
}
.tarifs table tr td:last-child, .product-copy table tr td:last-child{
  border-right:1px solid var(--cream-2); border-radius:0 16px 16px 0; text-align:right;
}
.tarifs table td:nth-child(2), .product-copy table td:nth-child(2){
  font-weight:700; color:var(--pink); white-space:nowrap;
}
.tarifs table a, .product-copy table a{
  display:inline-block; background:var(--yellow); color:var(--purple-deep);
  font-weight:700; font-size:0.85rem; padding:9px 18px; border-radius:999px;
  box-shadow:0 4px 0 #C99400; transition:transform .15s ease;
  white-space:nowrap;
}
.tarifs table a:hover, .product-copy table a:hover{transform:translateY(-2px);}

/* Em ecrãs estreitos a tabela vira cartões empilhados — sem min-width,
   sem scroll lateral. Os rótulos "Tarif"/"Poids max" vêm de CSS (a
   ordem das colunas é sempre a mesma), não do conteúdo em si. */
@media(max-width:600px){
  .tarifs table, .product-copy table{min-width:0; border-spacing:0; display:block;}
  .tarifs table thead, .product-copy table thead{display:none;}
  .tarifs table tbody, .product-copy table tbody,
  .tarifs table tr, .product-copy table tr{display:block;}
  /* a tabela não tem <thead> — a "linha 1" é o cabeçalho dentro do próprio tbody */
  .tarifs table tbody tr:first-child, .product-copy table tbody tr:first-child{display:none;}
  .tarifs table tr, .product-copy table tr{
    background:#fff; border-radius:var(--radius-lg); overflow:hidden;
    margin-bottom:12px; box-shadow:0 4px 12px rgba(59,20,100,0.08);
  }
  .tarifs table td, .product-copy table td{
    display:flex; align-items:center; justify-content:space-between; gap:12px;
    padding:10px 16px; border:none;
  }
  .tarifs table tr td:first-child, .product-copy table tr td:first-child,
  .tarifs table tr td:last-child, .product-copy table tr td:last-child{
    border-radius:0; text-align:left;
  }
  .tarifs table td:first-child, .product-copy table td:first-child{
    background:var(--cream-2); font-size:1.02rem;
  }
  .tarifs table td:nth-child(2)::before, .product-copy table td:nth-child(2)::before{
    content:"Tarif"; font-weight:600; color:#8a7aa3; font-size:0.85rem;
  }
  .tarifs table td:nth-child(3)::before, .product-copy table td:nth-child(3)::before{
    content:"Poids max"; font-weight:600; color:#8a7aa3; font-size:0.85rem;
  }
  .tarifs table td:last-child, .product-copy table td:last-child{justify-content:flex-end;}
}

/* ---------- Contact ---------- */
.contact{background:#fff;}
.contact-grid{
  display:grid; grid-template-columns:1fr 1fr; gap:40px;
}
.contact-list{display:flex; flex-direction:column; gap:20px;}
.contact-item{
  display:flex; align-items:center; gap:16px;
  background:var(--cream-2); padding:18px 20px; border-radius:18px;
}
.contact-item .ic{
  width:44px; height:44px; border-radius:12px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center; font-size:1.3rem;
  background:var(--pink); color:#fff;
}
.contact-item .label{font-size:0.78rem; text-transform:uppercase; letter-spacing:.05em; color:#8a7aa3; font-weight:700;}
.contact-item .value{font-weight:700; color:var(--purple); font-size:1.02rem;}
.contact-form{
  background:var(--cream-2); border-radius:var(--radius-lg); padding:32px;
}
.contact-form h3{color:var(--purple); font-size:1.2rem; margin-bottom:18px;}
.form-row{margin-bottom:16px;}
.form-row label{display:block; font-size:0.85rem; font-weight:700; color:#5c4a78; margin-bottom:6px;}
.form-row input, .form-row textarea, .form-row select{
  width:100%; padding:12px 14px; border-radius:12px; border:2px solid #E9DFF7;
  font-family:'Quicksand'; font-size:0.95rem; background:#fff;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus{outline:none; border-color:var(--blue);}
.form-row-cols{display:grid; grid-template-columns:1fr 1fr; gap:14px;}
.field-error{color:var(--pink); font-size:0.8rem; font-weight:700; margin-top:6px;}
.contact-form .btn-primary{width:100%; justify-content:center; margin-top:6px;}

@media(max-width:820px){.contact-grid{grid-template-columns:1fr;} .form-row-cols{grid-template-columns:1fr;}}

/* ---------- Standalone message pages (contacts confirm/error) ---------- */
.message-section{background:var(--cream-2); min-height:60vh; display:flex; align-items:center;}
.message-card{
  max-width:560px; margin:0 auto; background:#fff; border-radius:var(--radius-lg);
  padding:48px 40px; text-align:center; box-shadow:0 8px 24px rgba(59,20,100,0.08);
}
.message-card .emoji{font-size:3rem; margin-bottom:8px;}
.message-card h2{color:var(--purple); font-size:1.6rem; margin-bottom:12px;}
.message-card p{color:#5c4a78; font-size:1.02rem; line-height:1.6; margin-bottom:24px;}

/* ---------- Product detail page ---------- */
.product-hero{
  background:var(--purple); color:#fff; padding:56px 0 0;
}
.product-hero .wrap{display:grid; grid-template-columns:1fr; gap:8px;}
.product-hero .kicker{color:var(--yellow);}
.product-hero h1{font-size:clamp(2rem,4vw,2.8rem); margin-top:6px;}
.product-hero .tags{display:flex; gap:8px; flex-wrap:wrap; margin-top:16px;}
.product-hero .tag-pill{
  background:rgba(255,255,255,0.12); color:#fff; font-size:0.78rem; font-weight:700;
  padding:6px 14px; border-radius:999px; text-transform:capitalize;
}
.product-cover{
  margin-top:32px; border-radius:var(--radius-lg) var(--radius-lg) 0 0; overflow:hidden;
  aspect-ratio:16/8; max-height:520px;
}
.product-cover img{width:100%; height:100%; object-fit:cover;}

.product-body{background:#fff; padding:56px 0;}
.product-body-grid{display:grid; grid-template-columns:1.3fr 0.9fr; gap:48px; align-items:start;}
.product-copy p{font-size:1.05rem; line-height:1.75; color:#4b3866; margin-bottom:16px;}
.product-copy ul{padding-left:20px; margin:16px 0; color:#4b3866; line-height:1.8;}
.product-copy li{margin-bottom:4px;}
.product-sidebar{
  background:var(--cream-2); border-radius:var(--radius-lg); padding:28px; position:sticky; top:100px;
}
.product-sidebar h3{color:var(--purple); font-size:1.1rem; margin-bottom:12px;}
.product-sidebar p{color:#5c4a78; font-size:0.92rem; line-height:1.6; margin-bottom:20px;}
.product-sidebar .btn{width:100%; justify-content:center;}
.back-link{display:inline-flex; align-items:center; gap:6px; color:var(--yellow); font-weight:700; font-size:0.9rem; margin-bottom:18px;}
.back-link:hover{color:#fff;}

.product-gallery{background:var(--cream-2); padding:56px 0;}
.gallery-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:16px;}
.gallery-grid button{
  border:none; padding:0; cursor:pointer; border-radius:16px; overflow:hidden;
  aspect-ratio:1/1; background:none;
}
.gallery-grid img{width:100%; height:100%; object-fit:cover; transition:transform .3s ease;}
.gallery-grid button:hover img{transform:scale(1.08);}
@media(max-width:820px){.gallery-grid{grid-template-columns:repeat(2,1fr);} .product-body-grid{grid-template-columns:1fr;} .product-sidebar{position:static;}}

/* ---------- Lightbox ---------- */
.lightbox{
  position:fixed; inset:0; background:rgba(36,18,56,0.92); z-index:200;
  display:none; align-items:center; justify-content:center; padding:24px;
}
.lightbox.open{display:flex;}
.lightbox img{max-width:min(900px,92vw); max-height:82vh; border-radius:16px; box-shadow:0 20px 60px rgba(0,0,0,0.4);}
.lightbox-close{
  position:absolute; top:20px; right:24px; background:#fff; color:var(--purple);
  border:none; width:44px; height:44px; border-radius:50%; font-size:1.3rem; cursor:pointer;
}
.lightbox-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  background:rgba(255,255,255,0.15); color:#fff; border:none; width:52px; height:52px;
  border-radius:50%; font-size:1.6rem; cursor:pointer;
}
.lightbox-nav:hover{background:rgba(255,255,255,0.3);}
.lightbox-prev{left:16px;}
.lightbox-next{right:16px;}

/* ---------- Footer ---------- */
footer{background:var(--purple-deep); color:#DCCBEE; padding:48px 0 24px;}
.footer-grid{
  display:grid; grid-template-columns:1fr 2fr 1fr; gap:32px;
  padding-bottom:28px; border-bottom:1px solid rgba(255,255,255,0.12);
}
.footer-brand{display:flex; align-items:center; gap:12px; margin-bottom:20px;}
.footer-brand .logo-circle{width:44px;height:44px;border-radius:50%;overflow:hidden;border:2px solid var(--yellow);}
.footer-brand .logo-circle img{width:100%;height:100%;object-fit:cover;}
.footer-brand-name{font-family:'Baloo 2'; font-weight:700; color:#fff; font-size:1.1rem;}
.footer-col h4{color:#fff; font-size:0.85rem; text-transform:uppercase; letter-spacing:.06em; margin-bottom:12px;}
.footer-col a{display:block; font-size:0.9rem; color:#DCCBEE; margin-bottom:8px;}
.footer-col a:hover{color:var(--yellow);}
.footer-col-subheading{margin-top:20px;}
.footer-col-products .footer-col-multi{column-count:2; column-gap:24px;}
.footer-col-products .footer-col-multi a{break-inside:avoid;}
@media(max-width:820px){.footer-grid{grid-template-columns:1fr 1fr; row-gap:28px;} .footer-col-brand{grid-column:1 / -1;}}
@media(max-width:560px){.footer-grid{grid-template-columns:1fr;}}
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;
  padding-top:20px; font-size:0.82rem; color:#a993c5;
}
