/* HostScout.ca — French homepage additions only.
   Load the same /assets/css/home.css used by English BEFORE this file.
   Do not recreate common heading, card, sort, popover, FAQ or footer styles here. */

/* White / grey section rhythm. Grey matches the shared methodology band. */
.hs-home-fr > .hero,
.hs-home-fr > #rankings,
.hs-home-fr > #guides,
.hs-home-fr > .hs-fr-domains-wrap,
.hs-home-fr > .canada-benefits { background: #fff; }
.hs-home-fr > .trustbar,
.hs-home-fr > .criteria,
.hs-home-fr > .hs-fr-dedicated,
.hs-home-fr > .sovereignty-section,
.hs-home-fr > .faq-section { background: #f5f5f7; }
.hs-home-fr > .hs-fr-domains-wrap > section { background: #fff; }

/* French text is longer. Keep the shared hero scale and let the red title wrap. */
.hs-home-fr .hero-title-line.red { white-space: normal; }
.hs-home-fr .hero .visual { display: flex; }
.hs-home-fr .hero-photo-wrap, .hs-home-fr .hero-photo { display: block; }
.hs-home-fr .hero-photo { max-width: 100%; }
.hs-home-fr .hs-home-fr-anchor { display: block; height: 0; scroll-margin-top: 28px; }
.hs-home-fr .trust-number { margin-bottom: 8px; color: var(--red, #ad0000); font-size: 12px; font-weight: 700; line-height: 1.3; }
.hs-home-fr .hs-hosting-note { margin: 24px 0 0; color: #535a64; font-size: 12px; line-height: 1.65; }
/* The source-note button is short in French; prices, grid and CTA come from home.css. */
.hs-home-fr .hs-host-card-v4-more { white-space: nowrap; }
.hs-home-fr .hs-host-card-v4-location-icon svg { width: 16px; height: 16px; }
.hs-home-fr .hs-host-popover-v4-check svg { width: 10px; height: 10px; }
.hs-home-fr .hs-host-popover-v4-price-row dt { min-width: 0; overflow-wrap: anywhere; }
.hs-home-fr .hs-host-popover-v4-price-row strong { white-space: normal; }
/* Maintain the same FAQ panel and typography as English, including rich answer markup. */
.hs-home-fr .faq-answer > :first-child { margin-top: 0; }
.hs-home-fr .faq-answer > :last-child { margin-bottom: 0; }
.hs-home-fr .faq-answer a { overflow-wrap: anywhere; }
.hs-home-fr .faq-answer ul, .hs-home-fr .faq-answer ol { padding-inline-start: 1.25em; }

/* Dedicated-server cards: shared specialized grid and card, only extra price/logo layout. */
.hs-home-fr .hs-fr-product-card { justify-content: flex-start; }
.hs-home-fr .hs-fr-product-logo { display: block; width: min(210px, 100%); height: 65px; object-fit: contain; object-position: left center; margin: 0 0 18px; }
.hs-home-fr .hs-fr-product-card .hs-specialized-title { margin-bottom: 10px; }
.hs-home-fr .hs-fr-product-bottom { margin-top: auto; display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; padding-top: 16px; border-top: 1px solid #f0f0f1; }
.hs-home-fr .hs-fr-product-price { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; color: #646a73; font-size: 12px; line-height: 1.4; }
.hs-home-fr .hs-fr-product-price strong { color: #111418; font-size: 30px; font-weight: 800; line-height: 1.08; letter-spacing: -.045em; }
.hs-home-fr .hs-fr-product-bottom .btn { display: flex; width: 100%; min-height: 48px; justify-content: center; align-items: center; text-align: center; }

/* Legacy French domain rows, if the unchanged domains.php uses these classes.
   If it uses the shared domain-* classes, home.css already provides the layout. */
.hs-home-fr .hs-fr-domains-wrap .fr-section { padding: 90px 0; }
.hs-home-fr .hs-fr-domains-wrap .fr-section-head { max-width: 860px; margin-bottom: 24px; }
.hs-home-fr .hs-fr-domains-wrap .fr-section-head p { margin-top: 16px; color: #666b73; font-size: 14px; line-height: 1.7; }
.hs-home-fr .fr-domain-list { display: grid; gap: 14px; }
.hs-home-fr .fr-domain-list article { display: grid; grid-template-columns: minmax(0,220px) minmax(0,1fr) minmax(0,162px); align-items: center; gap: 16px; padding: 20px 24px; border: 1px solid #e5e7eb; border-radius: 16px; background: #fff; box-shadow: 0 14px 28px rgba(17,17,17,.045); }
.hs-home-fr .fr-domain-list img { display: block; width: min(100%,220px); height: 54px; object-fit: contain; object-position: left center; }
.hs-home-fr .fr-domain-list small, .hs-home-fr .fr-domain-list span { display: block; color: #656a72; font-size: 12px; line-height: 1.5; }
.hs-home-fr .fr-domain-list strong { color: #17191d; font-size: 22px; font-weight: 800; }
.hs-home-fr .fr-domain-list article > a { display: flex; justify-content: center; align-items: center; min-height: 48px; padding: 8px 12px; border-radius: 10px; background: var(--red,#ad0000); color: #fff; font-size: 14px; font-weight: 700; text-align: center; text-decoration: none; }

/* PME section has no current English counterpart. Reuse the shared specialized cards. */
.hs-home-fr .canada-benefits { padding: 88px 0; border-top: 1px solid #efeff0; }
.hs-home-fr .canada-head { max-width: 780px; margin-bottom: 48px; }
.hs-home-fr .canada-head h2 { margin: 0; text-wrap: balance; }
.hs-home-fr .canada-head p { margin: 16px 0 0; color: #666b73; font-size: 14px; line-height: 1.7; }
.hs-home-fr .benefit-card { justify-content: flex-start; }
.hs-home-fr .benefit-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.hs-home-fr .benefit-icon { display: block; width: 24px; height: 24px; flex: 0 0 24px; color: var(--red,#ad0000); }
.hs-home-fr .benefit-top h3 { margin: 0; color: #18181b; font-size: 18px; line-height: 1.25; font-weight: 700; letter-spacing: -.015em; }
.hs-home-fr .benefit-card p { margin: 0; color: #71717a; font-size: 13.5px; line-height: 1.6; }

@media (max-width: 760px) {
  .hs-home-fr .hs-fr-domains-wrap .fr-section { padding: 70px 0; }
  .hs-home-fr .fr-domain-list article { grid-template-columns: minmax(0,1fr); gap: 12px; padding: 16px 18px; }
  .hs-home-fr .fr-domain-list img { margin-inline: auto; object-position: center; }
}
@media (max-width: 680px) {
  .hs-home-fr .canada-benefits { padding: 70px 0; }
  .hs-home-fr .canada-head { margin-bottom: 32px; }
  .hs-home-fr .benefit-top h3 { font-size: 16px; }
  .hs-home-fr .benefit-card p { font-size: 12.5px; }
}
@media (max-width: 640px) {
  .hs-home-fr .hero-copy h1 { font-size: clamp(38px, 11vw, 58px); }
  .hs-home-fr .hero .visual { min-height: 0; }
  .hs-home-fr .hs-hosting-disclosure { gap: 6px; }
  .hs-home-fr .hs-disclosure-trigger, .hs-home-fr .hs-disclosure-fallback { font-size: 12px; }
  .hs-home-fr .hs-disclosure-trigger span { overflow-wrap: anywhere; }
  .hs-home-fr .faq-answer { padding-inline: 22px; }
}
