/*
Theme Name: Hello Sweet Cake — Éditable propre
Theme URI: https://www.hellosweetcake.fr/
Author: Hello Sweet Cake
Description: Thème Hello Sweet Cake conçu pour que tout le contenu des pages soit modifiable dans l’éditeur WordPress Gutenberg.
Version: 2026.09.12
Text Domain: hellosweetcake-editable
*/
:root{--pink:#f3bfd3;--pink2:#fdeaf2;--pink3:#d98fac;--blue:#bfe2ef;--blue2:#e7f6fb;--blue3:#74b7ca;--lav:#e9dcf3;--mint:#dcefe9;--ink:#51606b;--deep:#485763;--white:#fff;--line:#e4edf1;--shadow:0 22px 60px rgba(88,112,126,.14)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:"Nunito Sans",sans-serif;line-height:1.75;font-size:15px}img{display:block;max-width:100%;height:auto}a{color:inherit}h1,h2,h3,h4{font-family:"Cormorant Garamond",serif;font-weight:500;color:var(--deep);line-height:1.02;margin:0 0 20px}h1{font-size:clamp(3.8rem,8vw,7.2rem)}h2{font-size:clamp(2.8rem,5vw,5.1rem)}h3{font-size:2rem}.shell{width:min(1180px,91%);margin-left:auto!important;margin-right:auto!important}.script{font-family:"Allura",cursive;font-size:2.3rem;color:#c47797;line-height:1;margin:0 0 8px}.mini{text-transform:uppercase;letter-spacing:.18em;font-weight:700;font-size:.7rem;color:#8aaeb9}.tiny-bar{text-align:center;background:#a9d7e5;color:#314b58;padding:6px 12px;font-size:.66rem;letter-spacing:.16em;text-transform:uppercase;font-weight:700}.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(16px);border-bottom:1px solid #edf1f3}.nav-shell{width:min(1220px,94%);height:96px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:25px}.brand img,.custom-logo{width:175px;max-height:88px;object-fit:contain}.site-header nav ul{list-style:none;margin:0;padding:0;display:flex;gap:22px;align-items:center}.site-header nav a{text-decoration:none;font-size:.69rem;text-transform:uppercase;letter-spacing:.1em;font-weight:700;color:#657580}.site-header nav li.hsc-menu-cta a,.site-header nav li:last-child a{border:1px solid #e1a4bd;border-radius:99px;padding:10px 16px;color:#bd718e;background:#fff7fa}.menu-toggle{display:none;border:0;background:none;font-size:1.4rem;color:#657580}.site-main{overflow:hidden}.entry-content{margin:0}.entry-content>.wp-block-group{max-width:none}.hero{min-height:720px;position:relative;overflow:hidden;background:linear-gradient(135deg,#fff 0%,#fff7fa 48%,#eef9fd 100%);padding:70px 0 90px}.hero:before{content:"";position:absolute;left:-110px;top:-80px;width:520px;height:420px;background:url('assets/watercolor.svg') center/contain no-repeat;opacity:.52;pointer-events:none}.hero:after{content:"";position:absolute;right:-60px;top:-20px;width:340px;height:340px;background:url('assets/floral.svg') center/contain no-repeat;opacity:.75;pointer-events:none}.hero-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:70px!important;align-items:center!important;position:relative;z-index:2}.hero-copy h1{color:#7a8d99}.hero-tagline{font-family:"Cormorant Garamond",serif;font-size:2rem;line-height:1.25;max-width:660px}.hero-tagline em,h2 em,h1 em{font-style:italic;color:#c77998}.hero-intro{max-width:620px}.actions{display:flex;align-items:center;gap:20px;margin:28px 0}.wp-block-button.hsc-primary .wp-block-button__link{display:inline-block;border:1px solid #d98fac;border-radius:99px;background:#d98fac;color:white;text-decoration:none;text-transform:uppercase;letter-spacing:.12em;font-size:.69rem;font-weight:700;padding:13px 23px}.wp-block-button.hsc-secondary .wp-block-button__link{display:inline-block;border:1px solid #e1a4bd;border-radius:99px;background:#fff;color:#bd718e;text-decoration:none;text-transform:uppercase;letter-spacing:.12em;font-size:.69rem;font-weight:700;padding:13px 23px}.soft-link a,.soft-link{color:#79a9b8;font-weight:700;text-transform:uppercase;letter-spacing:.1em;font-size:.7rem;text-decoration:none}.pills{display:flex!important;flex-wrap:wrap;gap:8px}.pills p{border:1px solid #dce9ee;background:rgba(255,255,255,.86);border-radius:99px;padding:7px 13px;font-size:.72rem;margin:0}.hero-visual{position:relative;min-height:620px}.hero-visual .photo-main{position:absolute;right:0;top:0;width:78%;height:580px;border-radius:46% 46% 24px 24px;overflow:hidden;box-shadow:var(--shadow);border:10px solid white;margin:0}.hero-visual .photo-main img{width:100%;height:100%;object-fit:cover}.hero-visual .photo-small{position:absolute;left:0;bottom:20px;width:42%;border:8px solid white;border-radius:36% 36% 18px 18px;overflow:hidden;box-shadow:var(--shadow);margin:0}.hero-visual .photo-small img{width:100%;height:270px;object-fit:cover}.bubble{position:absolute;right:-15px;bottom:20px;width:120px;height:120px;border-radius:50%;display:grid;place-content:center;text-align:center;background:#c8eaf4;color:white;font-family:"Cormorant Garamond",serif;font-size:1.55rem;box-shadow:var(--shadow);z-index:3;padding:10px}.intro{padding:100px 0;text-align:center;max-width:950px}.intro>p:last-child{max-width:790px;margin:0 auto}.categories{padding:100px 0;background:linear-gradient(180deg,#f2fbfe,#fff 44%,#fff7fb)}.section-title{text-align:center;max-width:820px;margin:0 auto 52px}.card-grid{display:grid!important;grid-template-columns:repeat(2,1fr)!important;gap:18px!important}.hsc-card{background:white;border-radius:28px;overflow:hidden;box-shadow:0 12px 40px rgba(85,112,126,.09);height:100%}.hsc-card figure{margin:0}.hsc-card figure img{width:100%;height:340px;object-fit:cover}.hsc-card .card-body{padding:24px 28px 30px}.hsc-card h3{font-size:2.45rem;margin-bottom:8px}.hsc-card .wp-block-button__link{background:transparent!important;color:#7baab9!important;border:none!important;padding:0!important;font-size:.7rem;text-transform:uppercase;letter-spacing:.1em;font-weight:700}.signature-section{padding:105px 0;background:white}.split{display:grid!important;grid-template-columns:1fr 1fr!important;gap:70px!important;align-items:center!important}.collage{display:grid!important;grid-template-columns:1.2fr .8fr!important;gap:12px!important;align-items:end!important}.collage figure{margin:0}.collage img{width:100%;height:280px;object-fit:cover;border-radius:22px;box-shadow:var(--shadow)}.collage figure:first-child{grid-row:span 2}.collage figure:first-child img{height:575px}.foodtruck-feature{padding:100px 0;background:#e9f7fb}.rounded-photo img,.rounded-photo img{border-radius:28px;width:100%;max-height:640px;object-fit:cover;box-shadow:var(--shadow)}.gallery-strip{display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:8px!important;padding:80px 0}.gallery-strip figure{margin:0}.gallery-strip img{width:100%;height:280px;object-fit:cover;border-radius:18px}.local-block{padding:100px 0;background:#fff2f7}.page-hero{position:relative;padding:95px 0;text-align:center;overflow:hidden;background:linear-gradient(135deg,#fff,#fdebf3)}.page-hero.blue-page{background:linear-gradient(135deg,#fff,#e9f7fb)}.page-hero p{max-width:720px;margin:15px auto}.product-section{padding:95px 0}.pale-blue{background:#eff9fc}.pale-pink{background:#fff2f7}.product-grid{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:18px!important}.product-card{background:white;border:1px solid #edf1f3;border-radius:22px;overflow:hidden}.product-card figure{margin:0}.product-card img{width:100%;height:320px;object-fit:cover}.product-card .card-body{padding:24px}.product-card p{color:#71818c}.price{color:#c47797;font-weight:700}.photo-grid{display:grid!important;gap:12px!important}.photo-grid.three{grid-template-columns:repeat(3,1fr)!important}.photo-grid.four{grid-template-columns:repeat(4,1fr)!important}.photo-grid figure{margin:0}.photo-grid img{width:100%;height:410px;object-fit:cover;border-radius:20px}.photo-grid.four img{height:360px}.price-callout{margin-top:25px;background:white;border:1px solid #e6eef1;border-radius:22px;padding:25px 30px;display:flex;justify-content:space-between;align-items:center;gap:20px}.event-hero{position:relative;min-height:700px;display:grid;align-items:center;background-size:cover;background-position:center}.event-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(55,74,84,.69),rgba(55,74,84,.12))}.event-overlay{position:relative;z-index:2;color:white;max-width:720px}.event-overlay h1,.event-overlay p{color:white}.event-overlay .script{color:#ffddec}.cta{padding:65px 0;background:#d9eef5;text-align:center}.cta.pink{background:#f8dce8}.cta h2{font-size:3.5rem;margin-bottom:25px}.contact-grid{display:grid!important;grid-template-columns:.8fr 1.2fr!important;gap:35px!important}.contact-card{background:linear-gradient(145deg,#edf9fc,#fff0f6);padding:35px;border-radius:28px}.contact-card a{display:block;margin:10px 0;color:#b56f8b}.hsc-form{background:#fff;border:1px solid #e6eef1;border-radius:26px;padding:34px}.hsc-note{font-size:.78rem;color:#788892}.config-shell{padding:95px 0}.config-box{background:linear-gradient(145deg,#eff9fc,#fff2f7);border-radius:28px;padding:30px}.legal{padding:80px 0;max-width:900px}.legal h2{font-size:2.2rem;margin-top:40px}.site-footer{background:#5d7180;color:white;padding:55px 0 22px}.footer-grid{display:grid;grid-template-columns:1.3fr .8fr 1fr .8fr;gap:35px}.footer-logo{width:160px;background:white;border-radius:16px;padding:5px}.site-footer h3{font:700 .8rem "Nunito Sans";text-transform:uppercase;letter-spacing:.14em;color:white}.site-footer a,.site-footer p{display:block;color:#eef6fa;text-decoration:none;margin:7px 0;font-size:.82rem}.copyright{border-top:1px solid rgba(255,255,255,.16);margin-top:35px;padding-top:18px;font-size:.7rem}.wp-block-image{margin-top:0;margin-bottom:0}.wp-block-buttons{margin-bottom:0}.entry-content p{margin-top:0;margin-bottom:16px}
@media(max-width:920px){.site-header nav{display:none;position:absolute;top:100%;left:0;right:0;background:white;padding:20px}.site-header nav.open{display:block}.site-header nav ul{flex-direction:column}.menu-toggle{display:block}.hero-grid,.split,.contact-grid{grid-template-columns:1fr!important}.hero-visual{min-height:560px}.card-grid{grid-template-columns:1fr!important}.product-grid{grid-template-columns:1fr 1fr!important}.photo-grid.four{grid-template-columns:1fr 1fr!important}.gallery-strip{grid-template-columns:repeat(3,1fr)!important}.footer-grid{grid-template-columns:1fr 1fr}.event-hero{min-height:600px}}
@media(max-width:580px){h1{font-size:3.6rem}h2{font-size:2.9rem}.script{font-size:2rem}.nav-shell{height:80px}.brand img,.custom-logo{width:140px}.hero{padding-top:35px}.hero-grid{gap:25px!important}.hero-visual{min-height:450px}.hero-visual .photo-main{height:410px;width:84%}.hero-visual .photo-small{width:42%;bottom:0}.hero-visual .photo-small img{height:185px}.bubble{width:90px;height:90px;font-size:1.15rem}.actions{align-items:flex-start;flex-direction:column}.product-grid,.photo-grid.three,.photo-grid.four{grid-template-columns:1fr!important}.photo-grid img,.photo-grid.four img{height:auto}.gallery-strip{grid-template-columns:1fr 1fr!important}.gallery-strip img{height:220px}.collage{grid-template-columns:1fr 1fr!important}.collage figure:first-child img{height:400px}.collage img{height:195px}.event-hero{min-height:540px}.price-callout{align-items:flex-start;flex-direction:column}.footer-grid{grid-template-columns:1fr}}

/* Correctif visibilité accueil */
.home .entry-content h1,.home .entry-content h2,.home .entry-content h3,.home .entry-content p,.home .entry-content .wp-block-button__link{opacity:1!important;visibility:visible!important}
.home .entry-content .hero-copy,.home .entry-content .intro,.home .entry-content .card-body,.home .entry-content .signature-section .wp-block-column,.home .entry-content .foodtruck-feature .wp-block-column,.home .entry-content .local-block .wp-block-column{opacity:1!important;visibility:visible!important}

/* Optimisation mobile 2026-09-14 */
.footer-socials{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.site-footer .social-btn{display:inline-flex;align-items:center;gap:5px;width:max-content;border:1px solid rgba(255,255,255,.24);border-radius:99px;padding:5px 9px;margin:0;background:rgba(255,255,255,.06);transition:.2s ease;font-size:.72rem;min-height:0}.site-footer .social-btn:hover{background:white;color:#5d7180}.social-btn svg{width:13px;height:13px;flex:0 0 13px}
@media(max-width:580px){
html,body{max-width:100%;overflow-x:hidden}body{font-size:15px;line-height:1.65}.shell{width:min(92%,560px)}
h1{font-size:clamp(2.75rem,14vw,3.55rem);line-height:.98}h2{font-size:clamp(2.25rem,11vw,2.9rem);line-height:1.02}h3{font-size:1.7rem}.page-hero{padding:58px 0}.page-hero p{font-size:.96rem}.product-section,.signature-section,.foodtruck-feature,.local-block,.config-shell{padding:62px 0}.intro,.categories{padding:64px 0}.section-title{margin-bottom:34px}
.nav-shell{width:92%;height:74px;gap:12px}.brand img,.custom-logo{width:122px;max-height:66px}.site-header nav{padding:14px 4% 22px;box-shadow:0 18px 30px rgba(88,112,126,.12)}.site-header nav ul{gap:4px;align-items:stretch}.site-header nav a{display:block;padding:11px 8px;font-size:.74rem;text-align:center}.site-header nav li.hsc-menu-cta a,.site-header nav li:last-child a{margin-top:6px;padding:11px 14px}
.hero{min-height:auto;padding:42px 0 58px}.hero-grid{gap:34px!important}.hero-tagline{font-size:1.55rem}.hero-intro{font-size:.94rem}.hero-visual{min-height:410px}.hero-visual .photo-main{width:82%;height:370px;border-width:7px;border-radius:42% 42% 20px 20px}.hero-visual .photo-small{width:44%;border-width:6px}.hero-visual .photo-small img{height:165px}.bubble{right:0;bottom:4px;width:82px;height:82px;font-size:1.05rem}.actions{width:100%;gap:12px;margin:22px 0}.actions .wp-block-button,.actions .wp-block-button__link{width:100%;text-align:center}.wp-block-button.hsc-primary .wp-block-button__link,.wp-block-button.hsc-secondary .wp-block-button__link{min-height:46px;display:flex;align-items:center;justify-content:center;padding:12px 18px}
.card-grid,.product-grid,.photo-grid.three,.photo-grid.four,.contact-grid,.split{grid-template-columns:1fr!important}.hsc-card,.product-card{border-radius:20px}.hsc-card figure img,.product-card img{height:260px}.hsc-card .card-body,.product-card .card-body{padding:20px}.hsc-card h3{font-size:2rem}.gallery-strip{grid-template-columns:1fr 1fr!important;gap:7px!important;padding:52px 0}.gallery-strip img{height:180px;border-radius:14px}.collage{gap:8px!important}.collage figure:first-child img{height:340px}.collage img{height:166px;border-radius:16px}.rounded-photo img{border-radius:20px}
.entry-content .wp-block-group[style*="border-radius"]{padding-left:22px!important;padding-right:22px!important;padding-top:28px!important;padding-bottom:28px!important}.price-callout{padding:22px;border-radius:18px}.contact-card,.hsc-form,.config-box{padding:22px;border-radius:20px}.hsc-form input,.hsc-form select,.hsc-form textarea,.config-box input,.config-box select,.config-box textarea{width:100%;max-width:100%;min-height:46px}.cta{padding:48px 0}.cta h2{font-size:2.5rem}.site-footer{padding:42px 0 20px}.footer-grid{grid-template-columns:1fr;gap:24px}.footer-logo{width:140px}.site-footer a{padding:3px 0;min-height:34px}.copyright{margin-top:26px}
}
