/* Braisy — feuille de style commune */

/* ---------- Polices (Nunito, hébergée localement) ---------- */
@font-face{font-family:"Nunito";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/nunito-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"Nunito";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/nunito-latin-600-normal.woff2") format("woff2")}
@font-face{font-family:"Nunito";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/nunito-latin-700-normal.woff2") format("woff2")}
@font-face{font-family:"Nunito";font-style:normal;font-weight:800;font-display:swap;src:url("../fonts/nunito-latin-800-normal.woff2") format("woff2")}
@font-face{font-family:"Nunito";font-style:normal;font-weight:900;font-display:swap;src:url("../fonts/nunito-latin-900-normal.woff2") format("woff2")}

/* ---------- Base ---------- */
html{scroll-behavior:smooth}
body{margin:0;background:#F2F2F7}
a{color:#B8460B}
a:hover{color:#8A3307}
img{max-width:100%}

.page{font-family:"Nunito",system-ui,sans-serif;color:#1D1B26;background:#F2F2F7;min-height:100vh}

/* ---------- Transitions de page et de langue ---------- */
@view-transition{navigation:auto}
@keyframes braisy-page{from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}
@keyframes braisy-lang-a{from{opacity:.25}to{opacity:1}}
@keyframes braisy-lang-b{from{opacity:.25}to{opacity:1}}
.page-in{animation:braisy-page .5s cubic-bezier(.22,1,.36,1) both}
.lang-a main,.lang-a footer{animation:braisy-lang-a .35s ease both}
.lang-b main,.lang-b footer{animation:braisy-lang-b .35s ease both}

/* ---------- Interactions ---------- */
a,button{transition:translate .2s cubic-bezier(.22,1,.36,1),scale .12s ease,background-color .2s ease,color .2s ease,box-shadow .2s ease,opacity .2s ease;-webkit-tap-highlight-color:transparent}
a:active,button:active{scale:.95}
.lift:hover,button:hover{translate:0 -2px;box-shadow:0 8px 20px rgba(29,27,38,.12)}
article{transition:translate .25s cubic-bezier(.22,1,.36,1),box-shadow .25s ease}
article:hover{translate:0 -4px;box-shadow:0 14px 30px rgba(29,27,38,.08)}

/* ---------- Animations de la page d'accueil ---------- */
@keyframes braisy-in{from{opacity:0;transform:translateY(32px)}to{opacity:1;transform:none}}
@keyframes braisy-reveal{from{opacity:0;transform:translateY(48px) scale(.97)}to{opacity:1;transform:none}}
@keyframes braisy-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
.hero-in{animation:braisy-in .8s cubic-bezier(.22,1,.36,1) both}
.hero-delay{animation-delay:.18s}
.float{animation:braisy-float 4s ease-in-out infinite}
@supports (animation-timeline: view()){
  .reveal{animation:braisy-reveal linear both;animation-timeline:view();animation-range:entry 0% entry 70%}
}

/* ---------- En-tête ---------- */
.site-header{position:sticky;top:0;z-index:10;background:#F2F2F7;border-bottom:1px solid #E7E6EE}
.nav{max-width:1200px;margin:0 auto;padding:12px 20px;display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:16px}
.brand,.brand:hover{display:flex;align-items:center;gap:10px;text-decoration:none;color:#1D1B26}
.brand img{display:block;width:40px;height:40px;border-radius:9px}
.brand-name{font-size:1.5rem;font-weight:900;letter-spacing:-0.02em}
.nav-actions{display:flex;flex-wrap:nowrap;align-items:center;gap:8px}
.nav-link,.nav-link:hover{padding:12px 14px;border-radius:12px;font-weight:700;text-decoration:none;color:#1D1B26}
.lang-btn{font-family:inherit;font-size:.95rem;font-weight:800;padding:10px 14px;min-height:44px;border-radius:12px;border:2px solid #E7E6EE;background:#FFFFFF;color:#1D1B26;cursor:pointer}
.nav-cta,.nav-cta:hover{padding:12px 20px;min-height:44px;box-sizing:border-box;display:inline-flex;align-items:center;border-radius:14px;background:#F0914D;color:#1D1B26;font-weight:900;text-decoration:none}

/* ---------- Boutons ---------- */
.btn-dark,.btn-dark:hover{display:inline-flex;align-items:center;gap:10px;padding:16px 26px;border-radius:18px;background:#1D1B26;color:#FFFFFF;font-weight:900;font-size:1.1rem;text-decoration:none}
.btn-light,.btn-light:hover{display:inline-flex;align-items:center;padding:16px 24px;border-radius:18px;border:2px solid #E7E6EE;background:#FFFFFF;color:#1D1B26;font-weight:800;font-size:1.1rem;text-decoration:none}
.btn-orange,.btn-orange:hover{display:inline-flex;align-items:center;gap:10px;padding:14px 22px;border-radius:16px;background:#F0914D;color:#1D1B26;font-weight:900;text-decoration:none}

/* ---------- Accueil : hero ---------- */
.section{max-width:1200px;margin:0 auto;padding:56px 24px}
.hero{max-width:1200px;margin:0 auto;padding:72px 24px 56px;display:flex;flex-wrap:wrap;align-items:center;gap:56px}
.hero-text{flex:1 1 440px;min-width:0;display:flex;flex-direction:column;gap:24px}
.pill{align-self:flex-start;padding:8px 14px;border-radius:999px;background:#FDEBDC;color:#8A3307;font-weight:800;font-size:.95rem}
.hero h1{margin:0;font-size:clamp(2.5rem,5vw,4.25rem);line-height:1.05;font-weight:900;letter-spacing:-0.03em}
.lead{margin:0;font-size:1.25rem;line-height:1.6;color:#6B6880;max-width:34rem}
.btn-row{display:flex;flex-wrap:wrap;gap:12px}
.hero-note{margin:0;font-weight:700;color:#6B6880}
.hero-visual{flex:1 1 360px;display:flex;justify-content:center}
.phone{width:300px;height:650px;border-radius:48px;background:#1D1B26;padding:10px;box-sizing:border-box;box-shadow:0 30px 60px rgba(29,27,38,.18)}
.phone picture{display:block;width:100%;height:100%}
.phone img{width:100%;height:100%;border-radius:38px;object-fit:cover;object-position:top;display:block}

/* ---------- Accueil : fonctionnalités ---------- */
.features{display:flex;flex-direction:column;gap:40px}
.section-head{display:flex;flex-direction:column;gap:12px;max-width:40rem}
.h2{margin:0;font-size:clamp(2rem,3.5vw,2.75rem);font-weight:900;letter-spacing:-0.02em}
.sub{margin:0;font-size:1.15rem;line-height:1.6;color:#6B6880}
.cards{display:flex;flex-wrap:wrap;gap:20px}
.card{flex:1 1 300px;background:#FFFFFF;border:1px solid #E7E6EE;border-radius:28px;padding:28px;display:flex;flex-direction:column;gap:12px}
.card h3{margin:0;font-size:1.35rem;font-weight:900}
.card p{margin:0;line-height:1.6;color:#6B6880}
.icon{width:52px;height:52px;border-radius:16px;background:#FDEBDC;display:flex;align-items:center;justify-content:center;color:#B8460B}
.icon-sm{flex:none;width:48px;height:48px;border-radius:14px;background:#FDEBDC;display:flex;align-items:center;justify-content:center;color:#B8460B}

/* ---------- Accueil : blocage d'applis ---------- */
.block{background:#1D1B26;color:#FFFFFF;border-radius:32px;padding:clamp(24px,5vw,48px);display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:40px}
.block-text{flex:999 1 420px;min-width:0;display:flex;flex-direction:column;gap:18px}
.pill-orange{align-self:flex-start;padding:8px 14px;border-radius:999px;background:#F0914D;color:#1D1B26;font-weight:900;font-size:.95rem}
.block h2{line-height:1.1}
.block-lead{margin:0;font-size:1.15rem;line-height:1.6;color:#E7E6EE}
.block-note{margin:0;font-size:.95rem;color:#C9C7D6}
.block-visual{flex:1 1 260px;display:flex;justify-content:center}
.blockscreen{width:260px;max-width:100%;box-sizing:border-box;border-radius:28px;background:#2A2836;padding:28px 22px;display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center}
.blockscreen img{display:block;width:80px;height:80px}
.bs-title{font-weight:900;font-size:1.2rem}
.bs-quote{color:#C9C7D6;line-height:1.5}
.bs-tag{font-size:.8rem;color:#C9C7D6;border:2px dashed #6B6880;border-radius:12px;padding:8px 10px}

/* ---------- Accueil : garanties ---------- */
.trust{display:flex;flex-wrap:wrap;gap:20px}
.trust-item{flex:1 1 300px;display:flex;gap:16px;align-items:flex-start}
.trust-item > div{display:flex;flex-direction:column;gap:6px}
.trust-item h3{margin:0;font-size:1.2rem;font-weight:900}
.trust-item p{margin:0;line-height:1.6;color:#6B6880}

/* ---------- Accueil : appel à l'action ---------- */
.section-cta{padding-bottom:88px}
.cta{background:#F0914D;border-radius:32px;padding:clamp(36px,6vw,56px) 24px;display:flex;flex-direction:column;align-items:center;gap:20px;text-align:center}
.cta h2{font-size:clamp(2rem,4vw,3rem);color:#1D1B26}
.cta p{margin:0;font-size:1.2rem;font-weight:700;color:#1D1B26;max-width:30rem}
.cta .btn-dark{padding:16px 28px}

/* ---------- Pages de contenu (support, légal, blog) ---------- */
.doc{max-width:760px;margin:0 auto;padding:64px 24px 88px;display:flex;flex-direction:column;gap:32px}
.doc-wide{max-width:820px;gap:40px}
.doc-head{display:flex;flex-direction:column;gap:10px}
.doc-wide .doc-head{gap:12px}
.doc h1{margin:0;font-size:clamp(2.25rem,4vw,3rem);font-weight:900;letter-spacing:-0.02em}
.doc-intro{margin:0;font-size:1.15rem;line-height:1.6;color:#6B6880}
.updated{margin:0;color:#6B6880;font-weight:700}
.summary{background:#FDEBDC;border-radius:24px;padding:24px;display:flex;gap:16px;align-items:flex-start}
.summary svg{flex:none}
.summary p{margin:0;line-height:1.65;font-weight:700;color:#5A2405}
.doc-section{display:flex;flex-direction:column;gap:10px}
.doc-section h2{margin:0;font-size:1.4rem;font-weight:900}
.doc-section p{margin:0;line-height:1.7;color:#46435A}
.doc-section ul{margin:0;padding-left:1.25rem;display:flex;flex-direction:column;gap:6px;line-height:1.7;color:#46435A}
.doc-legal .doc-section h2{font-size:1.3rem}
.box{background:#FFFFFF;border:1px solid #E7E6EE;border-radius:24px;padding:24px}
.box p{line-height:1.8}

/* Support */
.contact-card{background:#FFFFFF;border:1px solid #E7E6EE;border-radius:28px;padding:28px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.contact-card > div{display:flex;flex-direction:column;gap:4px}
.contact-card h2{margin:0;font-size:1.3rem;font-weight:900}
.contact-card p{margin:0;color:#6B6880}
.faq{display:flex;flex-direction:column;gap:14px}
.faq > h2{margin:0;font-size:1.6rem;font-weight:900}
.faq-item{background:#FFFFFF;border:1px solid #E7E6EE;border-radius:24px;padding:24px;display:flex;flex-direction:column;gap:8px}
.faq-item h3{margin:0;font-size:1.15rem;font-weight:900}
.faq-item p{margin:0;line-height:1.65;color:#6B6880}

/* 404 */
.notfound{align-items:center;text-align:center}
.notfound img{display:block;width:120px;height:120px}

/* Blog */
.empty{background:#FFFFFF;border:2px dashed #E7E6EE;border-radius:24px;padding:32px 24px;text-align:center;color:#6B6880;font-weight:700;margin:0}
.post-card{background:#FFFFFF;border:1px solid #E7E6EE;border-radius:24px;padding:24px;display:flex;flex-direction:column;gap:8px}
.post-card h2{margin:0;font-size:1.3rem;font-weight:900}
.post-card h2 a,.post-card h2 a:hover{color:#1D1B26;text-decoration:none}
.post-card p{margin:0;line-height:1.65;color:#6B6880}
.post-meta{margin:0;color:#6B6880;font-weight:700;display:flex;flex-wrap:wrap;gap:6px 14px}
.post-body{display:flex;flex-direction:column;gap:20px}
.post-body h2{margin:12px 0 0;font-size:1.5rem;font-weight:900}
.post-body p,.post-body li{line-height:1.75;color:#46435A;font-size:1.08rem}
.post-body p,.post-body ul{margin:0}
.promo{background:#1D1B26;color:#FFFFFF;border-radius:28px;padding:28px;display:flex;flex-wrap:wrap;align-items:center;gap:20px}
.promo img{display:block;width:64px;height:64px;border-radius:15px;flex:none}
.promo > div{flex:1 1 260px;display:flex;flex-direction:column;gap:6px}
.promo h2{margin:0;font-size:1.35rem;font-weight:900}
.promo p{margin:0;line-height:1.6;color:#E7E6EE}
.promo .btn-orange{flex:none}

/* ---------- Pied de page ---------- */
.site-footer{border-top:1px solid #E7E6EE}
.footer-inner{max-width:1200px;margin:0 auto;padding:32px 24px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.copy{font-weight:800;color:#6B6880}
.footer-nav{display:flex;flex-wrap:wrap;gap:8px 20px}
.footer-nav a{font-weight:700;padding:10px 0}

/* ---------- Mobile ---------- */
@media (max-width: 700px){
  .nav-link{display:none !important}
  .m-center{text-align:center;align-items:center}
  .m-center > span{align-self:center !important}
  .m-center > div{justify-content:center}
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .hero-in,.reveal,.float{animation:none}
  .page-in,.lang-a main,.lang-a footer,.lang-b main,.lang-b footer{animation:none}
  a,button,article{transition:none}
  a:active,button:active{scale:1}
}
@media (prefers-reduced-motion: reduce){
  @view-transition{navigation:none}
}
