/*
 * site.css — every design change of yodigital.ma goes HERE.
 *
 * Loaded after the Webflow styles (/result/style.css), so a rule here wins over the same
 * rule there. Never edit css/webflow-style.css or result/style.css by hand: result/style.css
 * is generated from webflow-style.css by PurgeCSS (npm run purgecss) and would overwrite it.
 *
 * Tips
 * - Target the existing Webflow classes (e.g. .cta-button, .navbar), or add your own
 *   class prefixed with "yo-" in the page HTML.
 * - Webflow breakpoints: desktop > 991px, tablet <= 991px, mobile landscape <= 767px,
 *   mobile <= 479px.
 * - Before/after check: python scripts/screenshots.py capture before … capture after,
 *   then compare before after.
 */

/* =========================================================================================
   1. EVERY PAGE — brand colours (logo navy #191970 instead of the dark grey #1e1d1e)
   ========================================================================================= */
:root { --color-dark: #191970; --color-dark-transparent: #19197026; --text-color-dark: #191970; }
.hover-fill-01-menu-icon, .hover-fill-02-menu-icon, .hover-fill-03-menu-icon { background-color: #191970; }
.conf-content { color: #191970; }
.logo-slider-container.protfolio-slider { background-color: #191970; }
.section-our-clients.dark-section, .section-awards.dark-section, .section-recommended-articles.dark-section { background-color: #191970; }
.section-footer.dark-section { background: linear-gradient(180deg, #191970 0%, #12124e 100%); }

/* Animated hands (Lottie): logo orange #FF4400 instead of #fe7900. The files themselves are
   green/blue; the site recolours them with these variables (L_Fill / L_Str classes).
   02 = the light shading, same 33 % white mix as before (#fe7900 -> #ffa655). */
:root { --lottie-color-01: #FF4400; --lottie-color-02: #FF8255; }

/* Every orange of the site = logo orange #FF4400: links, current menu item, accents,
   buttons (the Webflow CSS used #fe7900, #fdac62 and #df6c00). */
:root { --color-accent-heavier: #FF4400; --color-accent: #FF4400; }
.wrap-cta-button.hero-cta, .cta-button-1 { background-color: #FF4400; }
.logo .dot, .nav-link:hover { color: #FF4400; }
.nav-link::after { background: #FF4400; }
.services-card { border-top-color: #FF4400; }

/* Footer logo at the size of the menu logo (it was ~400 px wide) */
.logo-in-footer-image { width: auto; height: auto; max-height: 52px; justify-self: start; align-self: center; }
@media screen and (max-width: 767px) { .logo-in-footer-image { max-height: 40px; } }


/* =========================================================================================
   2. HOMEPAGE (pages/index.php)
   ========================================================================================= */
/* Visible main heading (it was hidden with font-size: 0) */
.seo-home-h1 { max-width: 980px; margin: 0 auto 18px; padding-left: 20px; padding-right: 20px; }

/* Client logos right after the hero: same scrolling as before, adapted to 18 logos */
.section-clients-home { position: relative; z-index: 2; background-color: #ffffff; padding: 40px 0 70px; }
.clients-track { width: max-content; animation: scroll-clients 100s linear infinite; }
@keyframes scroll-clients { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Links inside the presentation text */
.agence-text a { color: #FF4400; text-decoration: underline; }

/* Numbers section ("Découvrez les chiffres…", 2M+, 99 %…): logo orange background, white text */
.statistics-color-background { background-color: #FF4400; }
.text-number-statistics, .text-signature-statistics { color: #ffffff; }
.line-statistics { border-bottom-color: #ffffff; }

/* "Vous êtes médecin…" section */
.section-seo-medecins { position: relative; z-index: 2; background-color: #ffffff; padding: 110px 0; }
.seo-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.seo-section-title { font-size: 44px; line-height: 115%; margin: 0 0 24px; }
.seo-list { margin: 24px 0 36px; padding-left: 20px; line-height: 180%; }
.seo-split-media img { display: block; width: 100%; height: auto; border-radius: 24px; }
.seo-cta { max-width: 380px; }
.section-seo-medecins .cta-button { background-color: #ff4400; color: #ffffff; }
.section-seo-medecins .horizontal-arrow path[stroke] { stroke: #ffffff; }
.section-seo-medecins .horizontal-arrow path:not([fill="none"]) { fill: #ffffff; }

/* "Vous cherchez une solution sur mesure ?" section */
.section-seo-solutions { position: relative; z-index: 2; background: linear-gradient(180deg, #191970 0%, #12124e 100%); padding: 110px 0; }
.seo-lead { max-width: 720px; margin-bottom: 48px; }
.seo-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: 48px; }
.seo-card { border: 1px solid rgba(255, 255, 255, .18); border-radius: 20px; padding: 28px; }
.seo-card h3 { color: #FF4400; font-size: 22px; line-height: 125%; margin: 0 0 12px; }
.seo-card p { color: #ffffff; margin: 0; }

@media screen and (max-width: 991px) {
  .seo-split { grid-template-columns: 1fr; gap: 40px; }
  .seo-cards { grid-template-columns: 1fr; }
  .seo-section-title { font-size: 34px; }
}
@media screen and (max-width: 767px) {
  .section-seo-medecins, .section-seo-solutions { padding: 70px 0; }
  .seo-section-title { font-size: 28px; }
}


/* =========================================================================================
   3. ABOUT PAGE (pages/about.php)
   ========================================================================================= */
.seo-fes-lead { max-width: 640px; margin-top: 24px; font-size: 18px; line-height: 150%; }
.seo-fes-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 52px 64px; margin-bottom: 70px; }
.seo-fes-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seo-fes-badge { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 20px; background: #FF4400; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; }
.seo-fes-grid p a, .section-what-we-do p a, .section-video-about p a, .section-evolution-journey p a { text-decoration: underline; }

/* Presentation video (replaces the old background video) */
.section-video-about .yo-about-video-wrap { height: auto; }
.yo-about-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #f4f5fa; }

/* Office photo slider: every image stays in the HTML (readable by Google) */
.section-evolution-journey .wrap-image-evolution-journey { position: relative; height: auto; min-height: 0; aspect-ratio: 4 / 5; align-self: start; }
.yo-slider { position: absolute; inset: 0; }
.yo-slider-track { position: relative; display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.yo-slider-track::-webkit-scrollbar { display: none; }
.yo-slide { flex: 0 0 100%; height: 100%; margin: 0; scroll-snap-align: start; }
.yo-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.yo-slider-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: #12124e; font-size: 26px; line-height: 44px; cursor: pointer; }
.yo-slider-prev { left: 12px; }
.yo-slider-next { right: 12px; }
.yo-slider-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.yo-slider-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .55); }
.yo-slider-dots span.is-active { background: #fff; }

@media screen and (max-width: 991px) { .seo-fes-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media screen and (max-width: 767px) { .seo-fes-grid, .seo-fes-grid-3 { grid-template-columns: 1fr; gap: 39px; } .seo-fes-lead { font-size: 16px; } }

/* About page — spacing (scoped with the page's Webflow id, so no other page changes) */
html[data-wf-page="6740bfb0cd160726d940426e"] .banner-inner-page { min-height: 0; padding-bottom: 48px; }
/* Leave room above the dark section for the orange "paper-rock-scissors" arms animation,
   which rises ~290 px into the previous section (it covered the last FAQ question). */
html[data-wf-page="6740bfb0cd160726d940426e"] .section-seo-fes { padding-bottom: 160px; }
@media screen and (max-width: 767px) {
  html[data-wf-page="6740bfb0cd160726d940426e"] .banner-inner-page { padding-bottom: 32px; }
  html[data-wf-page="6740bfb0cd160726d940426e"] .section-seo-fes { padding-bottom: 140px; }
}
