/* PHOTOPRODSTUDIO — feuille de styles partagée */

html { scroll-behavior: smooth; }
body { margin: 0; background: #fefefe; color: #262525; font-family: 'Poppins', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
a { color: #262525; text-decoration: none; }
input, textarea, select, button { font: inherit; color: inherit; }
button { background: none; border: none; -webkit-appearance: none; appearance: none; }
::placeholder { color: rgba(38,37,37,.5); }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes heroZoom { from { transform: scale(1.09); } to { transform: scale(1); } }

/* Le texte est visible par défaut (lisible même sans JavaScript ou si l'animation échoue).
   L'effet d'apparition est une amélioration progressive : .reveal-pending est ajouté par le
   script UNIQUEMENT juste avant que l'observateur ne déclenche l'animation, jamais au chargement. */
.reveal { opacity: 1; transform: none; }
.reveal.reveal-pending { opacity: 0; transform: translateY(26px); }
.reveal.is-visible { opacity: 1; transform: none; transition: opacity .75s cubic-bezier(.2,.7,.3,1), transform .75s cubic-bezier(.2,.7,.3,1); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.reveal-pending { opacity: 1 !important; transform: none !important; transition: none !important; }
  [style*="animation"], .hero-bg { animation: none !important; }
}

.nav-link { color: rgba(38,37,37,.9); transition: color .2s ease; }
.nav-link:hover { color: #262525; }
.nav-link.active { color: #262525; border-bottom: 2px solid #ffb600; padding-bottom: 2px; }

.nav-primary { display: flex; flex-wrap: wrap; gap: 8px clamp(16px,1.8vw,30px); align-items: center; min-width: 0; font-size: clamp(13.5px,1.4vw,15.5px); letter-spacing: .09em; text-transform: uppercase; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 36px; height: 36px; padding: 0; background: none; border: none; cursor: pointer; flex: none; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #262525; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 780px) {
  .nav-toggle { display: flex; order: 3; }
  .nav-cta { order: 2; }
  .nav-primary { order: 4; flex-basis: 100%; flex-direction: column; align-items: flex-start; gap: 2px; max-height: 0; overflow: hidden; transition: max-height .3s ease; font-size: 15.5px; }
  .nav-primary.is-open { max-height: 340px; padding: 8px 0 18px; }
  .nav-primary a { padding: 10px 2px; width: 100%; }
}

.btn-fill { display: inline-block; background: #ffb600; color: #262525; padding: 16px 28px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; transition: transform .25s ease, background .25s ease; border: none; cursor: pointer; }
.btn-fill:hover { background: #fefefe; color: #262525; transform: translateY(-2px); }
.btn-fill-sm { display: inline-block; background: #ffb600; color: #262525; padding: 11px 20px; font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; transition: background .25s ease; }
.btn-fill-sm:hover { background: #262525; color: #fefefe; }
.btn-outline-dark { display: inline-block; background: transparent; border: 1px solid #262525; color: #262525; padding: 17px 30px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background .25s ease; }
.btn-outline-dark:hover { background: #262525; color: #ffb600; }
.btn-outline-light { display: inline-block; background: transparent; border: 1px solid rgba(254,254,254,.55); color: #fefefe; padding: 16px 28px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: border-color .25s ease, background .25s ease; }
.btn-outline-light:hover { border-color: #fefefe; background: rgba(254,254,254,.08); }
.btn-dark { display: inline-block; background: #262525; color: #fefefe; padding: 17px 30px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; transition: transform .25s ease, background .25s ease; }
.btn-dark:hover { background: #fefefe; color: #262525; transform: translateY(-2px); }

.card-link { display: block; color: #262525; border: 1px solid rgba(38,37,37,.16); transition: border-color .3s ease, transform .3s ease; }
.card-link:hover { border-color: #ffb600; transform: translateY(-3px); color: #262525; }
.img-hover { transition: filter .4s ease, transform .5s cubic-bezier(.2,.7,.3,1); overflow: hidden; }
.img-hover:hover { filter: brightness(.95); transform: scale(1.05); }

.social-btn { display: flex; align-items: center; gap: 9px; border: 1px solid rgba(38,37,37,.24); padding: 10px 15px; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #262525; transition: background .25s ease, border-color .25s ease; }
.social-btn:hover { background: #ffb600; border-color: #ffb600; color: #262525; }
.footer-link { color: rgba(38,37,37,.95); transition: color .2s ease; }
.footer-link:hover { color: #262525; }
.footer-bottom-link { color: rgba(254,254,254,.9); transition: color .2s ease; }
.footer-bottom-link:hover { color: #ffb600; }
.top-link { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid rgba(254,254,254,.3); color: rgba(254,254,254,.85); font-size: 14px; line-height: 1; transition: background .25s ease, border-color .25s ease; }
.top-link:hover { background: #ffb600; border-color: #ffb600; color: #262525; }

.form-field { background: #fefefe; border: 1px solid rgba(38,37,37,.28); padding: 13px 14px; font-size: 14.5px; color: #262525; transition: border-color .25s ease; width: 100%; }
.form-field:focus { border-color: #ffb600; outline: none; }
.form-label { display: grid; gap: 7px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: rgba(38,37,37,.88); }

.faq-item { border-top: 1px solid rgba(38,37,37,.16); }
.faq-item summary { list-style: none; width: 100%; display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 18px 2px; cursor: pointer; transition: color .2s ease; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: rgba(38,37,37,.88); }
.faq-item summary h3 { margin: 0; font-size: clamp(14.5px,1.5vw,16.5px); font-weight: 500; line-height: 1.4; }
.faq-item .faq-icon { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid rgba(38,37,37,.28); font-size: 15px; line-height: 1; color: #262525; }
.faq-item .faq-icon::before { content: "+"; }
.faq-item[open] .faq-icon::before { content: "\2212"; }
.faq-item .faq-answer { margin: 0; padding: 0 60px 20px 2px; max-width: 70ch; font-size: 13.5px; font-weight: 300; line-height: 1.75; color: rgba(38,37,37,.92); }
.faq-item[open] .faq-answer { animation: fade .25s ease both; }

.filter-btn { background: transparent; color: rgba(38,37,37,.9); border: 1px solid rgba(38,37,37,.24); padding: 9px 18px; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.filter-btn.active, .filter-btn[aria-pressed="true"] { background: #ffb600; color: #262525; border-color: #ffb600; }

#cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; background: #262525; color: #fefefe; border-top: 3px solid #ffb600; box-shadow: 0 -12px 40px rgba(20,19,19,.28); }
#cookie-banner[hidden] { display: none; }
#cookie-banner .inner { max-width: 1360px; margin: 0 auto; padding: clamp(18px,2.4vw,26px) clamp(18px,4vw,60px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; }
#cookie-panel-overlay { position: fixed; inset: 0; z-index: 950; background: rgba(20,19,19,.6); display: grid; place-items: center; padding: clamp(14px,3vw,40px); }
#cookie-panel-overlay[hidden] { display: none; }
#cookie-panel { width: min(100%, 620px); max-height: 88vh; overflow: auto; background: #fefefe; color: #262525; border-top: 3px solid #ffb600; padding: clamp(22px,3vw,38px); }
.cookie-row { background: #fefefe; padding: 16px 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.cookie-switch { background: transparent; color: #262525; border: 1px solid rgba(38,37,37,.28); padding: 9px 16px; min-width: 104px; font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background .25s ease, border-color .25s ease; }
.cookie-switch.on { background: #ffb600; border-color: #ffb600; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; left: -9999px; }

/* Utilitaires de mise en page réutilisés par les templates Twig */
.wrap { max-width: 1360px; margin: 0 auto; padding-left: clamp(18px,4vw,60px); padding-right: clamp(18px,4vw,60px); }
.section { max-width: 1360px; margin: 0 auto; padding: clamp(40px,6vw,96px) clamp(18px,4vw,60px) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 30px; border-bottom: 1px solid rgba(38,37,37,.16); padding-bottom: clamp(16px,2.2vw,24px); }
