.hero{padding:38px 0 30px}

.hero-shell{
  position:relative;
  overflow:hidden;
  border-radius:40px;
  background:
    radial-gradient(circle at left top, rgba(197,106,42,.14), transparent 30%),
    linear-gradient(135deg,#fff 0%,#f4ebe2 100%);
  border:1px solid rgba(0,0,0,.06);
  box-shadow:var(--shadow-md);
  padding:20px;
  display:flex;
  flex-direction:column;
  gap:28px;
}

.hero-top{
  display:block;
}

.hero-topline{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.pill{
  display:inline-flex;
  align-items:center;
  padding:9px 14px;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--line);
  font-size:.9rem;
  font-weight:700;
  color:#2d2925;
}

.hero-main{
  display:block;
}

.hero-main-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:40px;
  align-items:center;
}

.hero-main-grid > *{
  min-width:0;
}

.hero-copy{
  display:flex;
  flex-direction:column;
  gap:35px;
}

.hero-copy h1,
.hero-copy p,
.hero-copy .btn-row,
.hero-copy .hero-bottom,
.hero-copy .star-wave{
  margin:0;
}

.hero-copy p{
  max-width:62ch;
  text-align:center;
}

.hero-bottom{
  display:none;
}

.hero-highlight{
  display:grid;
  grid-template-columns:repeat(1,1fr);
  gap:14px;
}

.hero-box{
  padding:18px;
  border-radius:20px;
  background:rgba(255,255,255,.86);
  border:1px solid rgba(0,0,0,.06);
}

.hero-box strong{
  display:block;
  font-size:1rem;
  margin-bottom:4px;
}

.hero-box span{
  display:block;
  color:var(--muted);
  font-size:.94rem;
}

.hero-media{
  position:relative;
}

.hero-frame{
  aspect-ratio:4/5;
  border-radius:30px;
  overflow:hidden;
  background:#ddd4cb;
  box-shadow:var(--shadow-md);
}

.hero-frame img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.hero-floating{
  position:absolute;
  left:18px;
  right:18px;
  bottom:18px;
  background:rgba(17,17,17,.9);
  color:#fff;
  border-radius:20px;
  padding:18px 20px;
}

.hero-floating strong{
  display:block;
  font-size:1rem;
}

.hero-floating span{
  display:block;
  margin-top:5px;
  font-size:.94rem;
  color:rgba(255,255,255,.84);
}

.star-wave{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:10px 16px;
  border-radius:999px;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(0,0,0,.06);
  box-shadow:0 10px 30px rgba(0,0,0,.06);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  max-width:100%;
  width:fit-content;
  overflow:hidden;
  white-space:nowrap;
  align-self:center;
}

.stars{
  display:inline-flex;
  align-items:center;
  gap:5px;
  line-height:1;
  flex:0 0 auto;
}

.star{
  display:inline-block;
  color:#e0a126;
  font-size:1rem;
  line-height:1;
  text-shadow:0 1px 0 rgba(255,255,255,.35);
  animation:starWave 1.8s ease-in-out infinite;
  transform-origin:center bottom;
}

.star:nth-child(1){ animation-delay:0s; }
.star:nth-child(2){ animation-delay:.12s; }
.star:nth-child(3){ animation-delay:.24s; }
.star:nth-child(4){ animation-delay:.36s; }
.star:nth-child(5){ animation-delay:.48s; }

.note{
  display:inline-flex;
  align-items:center;
  min-width:0;
  white-space:nowrap;
  font-size:.95rem;
  font-weight:800;
  color:#2d2925;
  line-height:1.2;
}

.note-main{
  display:inline;
  white-space:nowrap;
}

.note-extra{
  display:inline;
  white-space:nowrap;
}

.star-wave.is-compact .note-extra{
  display:none;
}

@keyframes starWave{
  0%, 100%{
    transform:translateY(0) scale(1);
    opacity:.88;
  }
  25%{
    transform:translateY(-3px) scale(1.08);
    opacity:1;
  }
  50%{
    transform:translateY(0) scale(1);
    opacity:.95;
  }
  75%{
    transform:translateY(2px) scale(.98);
    opacity:.9;
  }
}

.stats-grid,
.steps-grid,
.pizza-grid,
.locations-grid,
.faq-grid,
.seo-grid,
.reasons-grid{
  display:grid;
  gap:22px;
}

.stats-grid{
  grid-template-columns:repeat(4,1fr);
}

.reasons-grid,
.steps-grid{
  grid-template-columns:repeat(3,1fr);
}

.faq-grid{
  grid-template-columns:1fr;
  align-items:start;
  max-width:900px;
  margin:0 auto;
}

.pizza-grid,
.locations-grid,
.seo-grid{
  grid-template-columns:repeat(3,1fr);
}

.card{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-sm);
  padding:24px;
}

.icon-badge{
  width:54px;
  height:54px;
  border-radius:18px;
  background:var(--primary-soft);
  color:var(--primary-dark);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:1.1rem;
  font-weight:800;
  margin-bottom:16px;
}

.stat-card{
  text-align:center;
  padding:26px 22px;
}

.stat-card strong{
  display:block;
  font-size:1.8rem;
  line-height:1;
  margin-bottom:8px;
}

.stat-card span{
  display:block;
  color:var(--muted);
  font-weight:600;
}

.split{
  display:grid;
  grid-template-columns:.92fr 1.2fr;
  gap:60px;
  align-items:center;
}

.media-panel{
  aspect-ratio:4/5;
  border-radius:30px;
  overflow:hidden;
  background:#ddd5cc;
  box-shadow:var(--shadow-md);
}

.media-panel img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.stack-list{
  display:grid;
  gap:14px;
  margin-top:24px;
}

.stack-item{
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:16px 18px;
  border-radius:18px;
  border:1px solid var(--line);
  background:#fff;
}

.tick{
  width:28px;
  height:28px;
  border-radius:999px;
  background:#edf7f0;
  color:var(--success);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  flex:0 0 auto;
}

.steps-grid .card{
  position:relative;
  padding-top:72px;
}

.step-number{
  position:absolute;
  top:22px;
  left:22px;
  width:36px;
  height:36px;
  border-radius:999px;
  background:var(--green);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
}
 
.steps-grid h3{
  font-size: clamp(1.2rem, 2vw, 1.2rem);
  letter-spacing: -.02em;
}

.location-card{
  display:flex;
  flex-direction:column;
  height:100%;
}

.location-card .content{
  display:flex;
  flex-direction:column;
  flex:1;
  padding:22px;
}

.location-card .content .btn{
  width:100%;
  margin-top:auto;
}

.pizza-card,
.location-card{
  padding:0;
  overflow:hidden;
}

.pizza-card .media,
.location-card .media{
  aspect-ratio:4/4;
  background:#ded5cc;
  overflow:hidden;
}

.pizza-card .media img,
.location-card .media img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.pizza-card .content,
.location-card .content{
  padding:15px;
}

.mini-tag{
  display:inline-block;
  padding:2px 12px;
  border-radius:999px;
  background:#f5ede4;
  color:var(--primary-dark);
  font-size:.86rem;
  font-weight:800;
  margin-bottom:12px;
}

.band-dark{
  background:linear-gradient(135deg,#111 0%,#1c1c1c 100%);
  color:#fff;
  border-radius:34px;
  padding:42px;
  box-shadow:var(--shadow-md);
}

.band-dark p{
  color:rgba(255,255,255,.82);
}

.eyebrow-dark{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.12);
  color:#fff;
}

.proof-grid{
  display:grid;
  grid-template-columns:1.02fr .98fr;
  gap:28px;
  align-items:center;
}

.proof-list{
  display:grid;
  gap:18px;
}

.proof-item{
  padding:20px;
  border-radius:22px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
}

.proof-item strong{
  display:block;
  margin-bottom:8px;
}

.gallery{
  display:grid;
  grid-template-columns:1.1fr .9fr .9fr;
  gap:18px;
}

.gallery-item{
  border-radius:24px;
  overflow:hidden;
  min-height:240px;
  background:#ddd5cb;
  box-shadow:var(--shadow-sm);
}

.gallery-item.tall{
  grid-row:span 2;
  min-height:500px;
}

.gallery-item img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.faq-block{
  position:relative;
  max-width:900px;
  margin:0 auto;
}

.faq-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
  align-items:start;
  max-height:700px; /* 6 FAQ + moitié de la 7e environ */
  overflow:hidden;
  transition:max-height .35s ease;
}

.faq-block.is-expanded .faq-grid{
  max-height:5000px;
}

.faq-fade{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:140px;
  pointer-events:none;
  background:linear-gradient(to bottom, rgba(247,243,238,0) 0%, rgba(247,243,238,.96) 70%, rgba(247,243,238,1) 100%);
  transition:opacity .25s ease, visibility .25s ease;
}

.faq-block.is-expanded .faq-fade{
  opacity:0;
  visibility:hidden;
}

.faq-actions{
  display:flex;
  justify-content:center;
  margin-top:22px;
}

.faq-toggle-btn{
  min-width:180px;
}

.faq-item{
  min-width:0;
}

.faq-item details{
  height:auto;
  padding:0;
  border-radius:22px;
  border:1px solid var(--line);
  background:#fff;
  box-shadow:var(--shadow-sm);
  overflow:hidden;
}

.faq-item summary{
  list-style:none;
  position:relative;
  display:block;
  padding:22px 58px 22px 22px;
  font-weight:800;
  font-size:1rem;
  line-height:1.45;
  color:var(--text);
  cursor:pointer;
}

.faq-item summary::-webkit-details-marker{
  display:none;
}

.faq-item summary::after{
  content:"+";
  position:absolute;
  top:50%;
  right:20px;
  transform:translateY(-50%);
  width:30px;
  height:30px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f5ede4;
  color:var(--primary-dark);
  font-size:1.2rem;
  font-weight:800;
  line-height:1;
}

.faq-item details[open] summary::after{
  content:"−";
}

.faq-item .answer{
  padding:0 22px 22px;
  border-top:1px solid var(--line);
}

.faq-item .answer p{
  margin:14px 0 0;
  color:var(--muted);
  line-height:1.7;
}

@media (hover:hover){
  .faq-item details:hover{
    transform:translateY(-2px);
    transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    box-shadow:0 14px 32px rgba(0,0,0,.08);
    border-color:rgba(0,0,0,.09);
  }

  .faq-item summary:hover::after{
    background:#ecdcc8;
  }
}

@media (max-width:640px){
  .faq-grid{
    gap:16px;
    max-height:660px;
  }

  .faq-fade{
    height:120px;
  }

  .faq-item summary{
    padding:18px 52px 18px 18px;
    font-size:.98rem;
  }

  .faq-item summary::after{
    right:16px;
    width:28px;
    height:28px;
    font-size:1.1rem;
  }

  .faq-item .answer{
    padding:0 18px 18px;
  }

  .faq-item .answer p{
    font-size:.95rem;
    line-height:1.65;
  }

  .faq-toggle-btn{
    width:100%;
  }
}

.seo-box{
  background:#fff;
  border:1px solid var(--line);
  border-radius:30px;
  padding:34px;
  box-shadow:var(--shadow-sm);
}

.seo-grid .card a{
  font-weight:800;
  color:var(--primary-dark);
}

.cta-final{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  background:linear-gradient(135deg,#cb6e2c 0%,#9b521d 100%);
  color:#fff;
  border-radius:34px;
  padding:38px;
  box-shadow:var(--shadow-md);
}

.cta-final p{
  color:rgba(255,255,255,.86);
  margin-bottom:0;
}

.cta-final .btn-secondary{
  background:rgba(255,255,255,.10);
  color:#fff;
  border-color:rgba(255,255,255,.26);
}

.content h3{
  font-size:clamp(1rem, 2vw, 1.2rem);
  letter-spacing:-0.02em;
}

.btn-row-wrapless{
  margin-top:0;
}

.pizza-grid{
  display:grid;
  gap:22px;
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

/* Desktop : 8 pizzas max */
.pizza-grid > .pizza-card:nth-child(n+9){
  display:none;
}

.pizza-card .content p{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}

@media (hover:hover){
  .faq-item details:hover{
    transform:translateY(-2px);
    transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    box-shadow:0 14px 32px rgba(0,0,0,.08);
    border-color:rgba(0,0,0,.09);
  }

  .faq-item summary:hover::after{
    background:#ecdcc8;
  }
}

@media (max-width:1120px){
  .stats-grid,
  .reasons-grid,
  .steps-grid,
  .locations-grid,
  .seo-grid{
    grid-template-columns:repeat(2,1fr);
  }

 

  .pizza-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }

  .pizza-grid > .pizza-card:nth-child(n+7){
    display:none;
  }

  .hero-highlight{
    grid-template-columns:repeat(2,1fr);
  }

  .gallery{
    grid-template-columns:1fr 1fr;
  }

  .gallery-item.tall{
    grid-row:auto;
    min-height:320px;
  }
}

@media (max-width:860px){
  .hero-shell{
    padding:15px;
    
    background: none;
    border: none; 
    box-shadow: none; 
  }

#page-content .hero{
  padding-top:0px;
}



  .hero-main-grid,
  .split,
  .proof-grid{
    grid-template-columns:1fr;
  }

  .section{
    padding:72px 15px;
  }

  .cta-final{
    flex-direction:column;
    align-items:flex-start;
  }

  .pizza-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .pizza-grid > .pizza-card:nth-child(n+5){
    display:none;
  }
}

@media (max-width:640px){
  .star-wave{
    gap:10px;
    padding:8px 12px;
  }

  .star{
    font-size:.95rem;
  }

  .note{
    font-size:.88rem;
  }

  .stats-grid,
  .reasons-grid,
  .steps-grid,
  .pizza-grid,
  .locations-grid,
  .seo-grid,
  .hero-highlight,
  .gallery{
    grid-template-columns:1fr;
  }

  .faq-grid{
    grid-template-columns:1fr;
    gap:16px;
  }

  .hero-floating{
    position:static;
    margin-top:16px;
  }

  
  .seo-box,
  .band-dark,
  .cta-final{
    padding:22px;
  }

  .btn-row,
  .cta-row{
    display:flex;
    flex-wrap:nowrap;
    gap:14px;
    margin-top:28px;
    justify-content:center;
    align-items:stretch;
    width:100%;
  }

  .btn-row .btn,
  .cta-row .btn{
    flex:1 1 0;
    max-width:none;
    min-width:0;
    justify-content:center;
    text-align:center;
  }

  .faq-item summary{
    padding:18px 52px 18px 18px;
    font-size:.98rem;
  }

  .faq-item summary::after{
    right:16px;
    width:28px;
    height:28px;
    font-size:1.1rem;
  }

  .faq-item .answer{
    padding:0 18px 18px;
  }

  .faq-item .answer p{
    font-size:.95rem;
    line-height:1.65;
  }

  .pizza-grid{
    grid-template-columns:1fr;
  }

  .pizza-grid > .pizza-card:nth-child(n+4){
    display:none;
  }
}

@media (min-width:1120px){
  .hero-bottom{
    display:block;
  }

  .hero-main-grid{
    align-items:stretch;
  }

  .hero-copy{
    height:100%;
    gap:0;
    justify-content:space-between;
    align-items:center;
  }

  .hero-bottom{
    display:block;
    max-width:90%;
    text-align:center;
    justify-content:space-between;
  }
}




