/*
Theme Name: Florence Voice
Theme URI: https://pop-prod.com/
Author: POP Productions
Description: Thème bloc éditable pour une vitrine de voix off.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: florence-voice
*/

:root {
  --fd-ink: #19191d;
  --fd-paper: #f5f0e8;
  --fd-orange: #ff5a22;
  --fd-lime: #c9ff5f;
  --fd-line: rgba(25,25,29,.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
.wp-site-blocks { padding: 0; }
.fd-shell { padding-inline: clamp(22px, 5vw, 76px); }
.fd-section { padding-block: clamp(76px, 9vw, 128px); }

.fd-header {
  min-height: 84px;
  padding: 18px clamp(22px, 5vw, 76px);
  border-bottom: 1px solid var(--fd-line);
  position: relative;
  z-index: 10;
}
.fd-header .wp-block-site-title { font-size: 18px; letter-spacing: -.03em; }
.fd-header .wp-block-site-title a { text-decoration: none; }
.fd-header .wp-block-buttons { gap: 10px; }
.fd-header .wp-block-button__link {
  background: transparent;
  color: var(--fd-ink);
  border: 1px solid var(--fd-ink);
  padding: 11px 17px;
  font-size: 13px;
}

.fd-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.fd-eyebrow::before { content: ""; display: inline-block; width: 26px; height: 2px; background: var(--fd-orange); margin-right: 10px; vertical-align: middle; }
.fd-hero { min-height: min(760px, calc(100vh - 84px)); padding-block: 60px; border-bottom: 1px solid var(--fd-line); }
.fd-hero > .wp-block-columns { gap: clamp(40px, 7vw, 110px); align-items: center !important; }
.fd-hero h1 { font-size: clamp(56px, 7vw, 106px); letter-spacing: -.065em; line-height: .94; margin: 0; }
.fd-hero h1 em, .fd-display em { color: var(--fd-orange); font-family: Georgia, serif; font-weight: 400; }
.fd-lead { max-width: 660px; color: rgba(25,25,29,.7); font-size: clamp(18px, 1.6vw, 24px); line-height: 1.55; }
.fd-note { display: inline-block; font-size: 12px; color: rgba(25,25,29,.6); border-left: 3px solid var(--fd-orange); padding-left: 10px; }
.fd-hero .wp-block-button__link { background: var(--fd-orange); box-shadow: 0 12px 35px rgba(255,90,34,.22); }
.fd-hero-visual {
  min-height: 560px;
  border-radius: 36px;
  background: var(--fd-orange);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.fd-orbit { position: absolute; width: 72%; aspect-ratio: 1; border: 1px solid rgba(25,25,29,.2); border-radius: 50%; animation: fd-orbit 16s linear infinite; }
.fd-orbit::before { content: ""; position: absolute; width: 17px; aspect-ratio:1; border-radius: 50%; background: var(--fd-lime); left: 8%; top: 17%; box-shadow: 0 0 0 7px rgba(201,255,95,.22); }
@keyframes fd-orbit { to { transform: rotate(360deg); } }
.fd-core { width: 225px; aspect-ratio:1; border-radius: 50%; background: var(--fd-ink); color: white; display:grid; place-items:center; text-align:center; font-size: 27px; line-height:.92; font-weight:800; letter-spacing:-.04em; box-shadow: 0 35px 80px rgba(25,25,29,.28); }
.fd-wave { position:absolute; bottom: 9%; display:flex; align-items:center; gap:7px; height:70px; }
.fd-wave i { width:7px; border-radius:9px; background:rgba(25,25,29,.6); animation: fd-wave .8s ease-in-out infinite alternate; }
.fd-wave i:nth-child(1),.fd-wave i:nth-child(7){height:25%}.fd-wave i:nth-child(2),.fd-wave i:nth-child(6){height:55%}.fd-wave i:nth-child(3),.fd-wave i:nth-child(5){height:85%}.fd-wave i:nth-child(4){height:100%}
@keyframes fd-wave { to { height: 15%; } }

.fd-display { font-size: clamp(48px, 6vw, 88px); letter-spacing: -.06em; line-height:.97; }
.fd-section-intro { max-width: 650px; color: rgba(25,25,29,.68); font-size: 17px; line-height:1.7; }
.fd-services { margin-top: 90px; border-block: 1px solid var(--fd-ink); gap:0 !important; }
.fd-services > .wp-block-column { padding: 34px 34px 38px 0; }
.fd-services > .wp-block-column + .wp-block-column { border-left: 1px solid var(--fd-line); padding-left:34px; }
.fd-services h3 { font-size: 22px; letter-spacing:-.04em; }
.fd-services p { color:rgba(25,25,29,.65); line-height:1.65; }

.fd-quote { color: var(--fd-paper); background: var(--fd-ink); }
.fd-quote .fd-eyebrow::before { background: var(--fd-lime); }
.fd-quote .fd-display em { color:var(--fd-lime); }
.fd-quote .fd-section-intro { color:rgba(245,240,232,.63); }

.fd-footer { color: var(--fd-paper); background: var(--fd-ink); border-top:1px solid rgba(245,240,232,.12); padding: 32px clamp(22px, 5vw, 76px); }
.fd-footer p { color:rgba(245,240,232,.55); font-size:12px; }

@media (max-width: 782px) {
  .fd-header { min-height:72px; }
  .fd-hero { min-height:auto; padding-top:72px; }
  .fd-hero > .wp-block-columns { flex-direction:column; }
  .fd-hero-visual { min-height:430px; }
  .fd-services > .wp-block-column + .wp-block-column { border-left:0; border-top:1px solid var(--fd-line); padding-left:0; }
}

@media (max-width: 520px) {
  .fd-header .wp-block-buttons .wp-block-button:first-child { display:none; }
  .fd-hero h1 { font-size: clamp(49px, 15vw, 68px); }
  .fd-hero-visual { min-height:360px; border-radius:24px; }
  .fd-core { width:165px; font-size:21px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; scroll-behavior:auto !important; }
}
