/*
Theme Name: RSound Connect
Theme URI: https://toofoot.com/themes/rsound-connect
Author: Toofoot SAS
Author URI: https://toofoot.com
Description: Block theme (FSE) for RSound Connect — premium voice narration for WordPress. Cinematic teal/dark aesthetic, designed at 1920×1080 quality.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rsound-connect
Tags: full-site-editing, block-templates, block-patterns, one-column, custom-colors, custom-logo, custom-menu
*/

/* ==========================================================
   RSound Connect — Block Theme
   Most styling is driven by theme.json. This file holds:
   - resets needed alongside FSE
   - bespoke component styles (waveforms, pricing cards, FAQ)
   - hover/transition behaviour the theme.json layer can't express
   ========================================================== */

:root {
  --rs-teal: #0F7579;
  --rs-teal-bright: #14a0a6;
  --rs-teal-glow: rgba(20, 160, 166, 0.35);
  --rs-dark: #1E1E1E;
  --rs-dark-2: #161616;
  --rs-dark-3: #0e0e0e;
  --rs-light: #F4F4F4;
  --rs-line-dark: rgba(255,255,255,0.08);
  --rs-line-light: rgba(0,0,0,0.08);
  --rs-muted-on-dark: rgba(255,255,255,0.62);
  --rs-muted-on-light: rgba(30,30,30,0.62);
  --rs-ease: cubic-bezier(.2,.7,.2,1);
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }

/* ----- Display utility ----- */
.rs-display {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.95;
}
.rs-h1 { font-weight: 600; letter-spacing: -0.015em; line-height: 1.02; }
.rs-eyebrow {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rs-teal-bright);
}
.rs-eyebrow.on-light { color: var(--rs-teal); }

/* ----- Buttons ----- */
.rs-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none !important;
  transition: transform .3s var(--rs-ease), background .3s var(--rs-ease), color .3s var(--rs-ease), box-shadow .3s var(--rs-ease), border-color .3s var(--rs-ease);
  border: 1px solid transparent;
}
/* Bouton CTA pricing un peu plus compact */
#pricing .rs-price-card .rs-btn { padding: 14px 24px; }
.rs-btn-primary { background: var(--rs-teal); color: #fff; }
.rs-btn-primary:hover { background: var(--rs-teal-bright); transform: translateY(-2px); box-shadow: 0 14px 40px -10px var(--rs-teal-glow); }
.rs-btn-ghost-dark { border-color: rgba(255,255,255,0.18); color: #fff; }
.rs-btn-ghost-dark:hover { border-color: var(--rs-teal-bright); color: var(--rs-teal-bright); }
.rs-btn-ghost-light { border-color: rgba(0,0,0,0.18); color: var(--rs-dark); }
.rs-btn-ghost-light:hover { border-color: var(--rs-teal); color: var(--rs-teal); }
.rs-btn-on-teal { background: #fff; color: var(--rs-teal); }
.rs-btn-on-teal:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(0,0,0,0.35); }

/* ----- Site header (sticky over content) ----- */
header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 100;
  display: block;
}
.rs-header-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(24px, 5vw, 64px);
  background: rgba(15,15,15,0.85);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--rs-line-dark);
}
.rs-header-bar .rs-logo-link { display: inline-flex; align-items: center; text-decoration: none; }
.rs-header-bar .nav-links { display: flex; gap: 32px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.78); }
.rs-header-bar .nav-links a { color: inherit; text-decoration: none; transition: color .3s var(--rs-ease); }
.rs-header-bar .nav-links a:hover, .rs-header-bar .nav-links a.current-menu-item { color: var(--rs-teal-bright); }
@media (max-width: 900px) { .rs-header-bar .nav-links { display: none; } }
.rs-header-bar img.logo { height: 48px; width: auto; display: block; }
@media (max-width: 700px) { .rs-header-bar img.logo { height: 40px; } }

/* Header CTA — smaller than body CTAs to keep the bar tight */
.rs-btn-header {
  padding: 10px 20px !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
}

/* ----- Hero ----- */
.rs-hero {
  min-height: auto;
  background: var(--rs-dark);
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: 40px clamp(24px, 5vw, 96px) 60px;
  color: var(--rs-light);
}
.rs-hero::before {
  content: ""; position: absolute; top:-30%; right:-10%;
  width: 70vw; height: 70vw;
  background: radial-gradient(closest-side, rgba(15,117,121,0.30), transparent 70%);
  pointer-events: none;
}
.rs-hero h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  letter-spacing: -0.015em;
  font-size: clamp(40px, 5.2vw, 88px);
  line-height: 1.02;
  margin: 16px 0 24px;
  position: relative; z-index: 2;
  max-width: 22ch;
}
.rs-hero h1 .accent { color: var(--rs-teal-bright); }
.rs-hero p.lead {
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.5;
  color: var(--rs-muted-on-dark);
  max-width: 56ch;
  margin: 0 0 32px;
  position: relative; z-index: 2;
}
.rs-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; position: relative; z-index: 2; }
.rs-hero-wave {
  position: absolute; left:0; right:0; bottom:0;
  height: 38vh; pointer-events: none; z-index: 1; opacity: 0.7;
  mask-image: linear-gradient(to top, #000 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, #000 30%, transparent 100%);
}
.rs-hero-wave svg { width: 100%; height: 100%; }
.rs-bar { fill: var(--rs-teal); transform-origin: center; animation: rsPulseBar 2.6s ease-in-out infinite; }
@keyframes rsPulseBar { 0%,100% { transform: scaleY(0.32); opacity: .6; } 50% { transform: scaleY(1); opacity: 1; } }

/* ----- Generic section helpers ----- */
.rs-section { padding: clamp(96px, 10vw, 160px) clamp(24px, 5vw, 96px); position: relative; overflow: hidden; }
.rs-section.dark { background: var(--rs-dark); color: var(--rs-light); }
.rs-section.darker { background: var(--rs-dark-2); color: var(--rs-light); }
.rs-section.light { background: var(--rs-light); color: var(--rs-dark); }
.rs-section.teal { background: var(--rs-teal); color: #fff; }
.rs-wrap { max-width: 1320px; margin: 0 auto; }
.rs-h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.95;
  font-size: clamp(48px, 6.5vw, 110px);
  margin: 24px 0 0;
  max-width: 18ch;
}
.rs-lead { font-size: clamp(18px, 1.4vw, 22px); line-height: 1.55; color: var(--rs-muted-on-dark); max-width: 56ch; margin-top: 32px; }
.rs-lead.on-light { color: var(--rs-muted-on-light); }

/* ----- Modules grid ----- */
.rs-modules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 80px; align-items: stretch; }
@media (max-width: 800px) { .rs-modules { grid-template-columns: 1fr; align-items: start; } }
.rs-module-card {
  background: var(--rs-dark-2); border: 1px solid var(--rs-line-dark);
  border-radius: 20px; padding: 24px 24px 20px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .35s var(--rs-ease), border-color .35s var(--rs-ease), box-shadow .35s var(--rs-ease);
  position: relative; overflow: hidden;
}
.rs-module-card:hover { transform: translateY(-6px); border-color: var(--rs-teal); box-shadow: 0 24px 60px -20px rgba(15,117,121,0.4); }
.rs-module-card .badge { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; color: var(--rs-teal-bright); margin-bottom: 12px; }
.rs-module-card img.module-logo { height: 36px; width: auto; margin-bottom: 12px; filter: brightness(0) invert(1); opacity: 0.95; }
.rs-module-card h4 { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 26px; margin: 0 0 12px; letter-spacing: -0.015em; }
.rs-module-card p { color: var(--rs-muted-on-dark); font-size: 14px; line-height: 1.55; margin: 0; max-width: 42ch; }
.rs-module-card .more { font-weight: 600; font-size: 14px; color: var(--rs-teal-bright); display: inline-flex; gap: 8px; align-items: center; text-decoration: none; }

/* ----- Process flows (IA forfait vs Humain devis) ----- */
.rs-flows { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 80px; align-items: stretch; }
@media (max-width: 900px) { .rs-flows { grid-template-columns: 1fr; } }
.rs-flow {
  background: var(--rs-dark-2);
  border: 1px solid var(--rs-line-dark);
  border-radius: 20px;
  padding: 44px 40px 36px;
  display: flex; flex-direction: column;
  transition: border-color .35s var(--rs-ease);
}
.rs-flow-ia { background: linear-gradient(180deg, rgba(15,117,121,0.10) 0%, var(--rs-dark-2) 65%); border-color: rgba(20,160,166,0.30); }
.rs-flow-human { background: linear-gradient(180deg, rgba(200,154,106,0.06) 0%, var(--rs-dark-2) 65%); border-color: rgba(200,154,106,0.25); }
.rs-flow-head { margin-bottom: 32px; }
.rs-flow-tag {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700;
  padding: 6px 12px; border-radius: 999px;
  margin-bottom: 18px;
}
.rs-flow-ia .rs-flow-tag { color: var(--rs-teal-bright); background: rgba(20,160,166,0.14); }
.rs-flow-human .rs-flow-tag { color: #d4a974; background: rgba(200,154,106,0.14); }
.rs-flow-head h3 { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: clamp(22px, 1.8vw, 26px); letter-spacing: -0.015em; margin: 0 0 10px; line-height: 1.15; color: #fff; }
.rs-flow-head p { margin: 0; font-size: 14px; color: var(--rs-muted-on-dark); line-height: 1.55; }
.rs-flow-steps { list-style: none; padding: 0; margin: 0; }
.rs-flow-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 14px 0; position: relative; }
.rs-flow-steps li + li::before { content: ""; position: absolute; left: 23px; top: -8px; bottom: calc(100% - 22px); width: 1px; background: var(--rs-line-dark); }
.rs-flow-steps .num {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; letter-spacing: 0.04em;
  background: rgba(255,255,255,0.04); border: 1px solid var(--rs-line-dark);
  flex: 0 0 auto;
}
.rs-flow-ia .num { color: var(--rs-teal-bright); border-color: rgba(20,160,166,0.4); background: rgba(20,160,166,0.08); }
.rs-flow-human .num { color: #d4a974; border-color: rgba(200,154,106,0.4); background: rgba(200,154,106,0.06); }
.rs-flow-steps li strong { display: block; font-weight: 600; font-size: 16px; letter-spacing: -0.005em; margin-bottom: 4px; color: #fff; }
.rs-flow-steps li p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--rs-muted-on-dark); }

/* ----- Pricing ----- */
/* Compacte pour tenir dans le viewport desktop (titre conservé à taille normale) */
#pricing.rs-section { padding-top: clamp(48px, 5vw, 72px) !important; padding-bottom: clamp(48px, 5vw, 72px) !important; }
#pricing .rs-lead { margin-top: 16px; font-size: 15px; max-width: 70ch; }
.rs-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
@media (max-width: 1000px) { .rs-prices { grid-template-columns: 1fr; } }
.rs-price-card {
  background: #fff; border: 1px solid var(--rs-line-light); border-radius: 20px;
  padding: 32px 28px; position: relative; display: flex; flex-direction: column;
  transition: transform .35s var(--rs-ease), box-shadow .35s var(--rs-ease);
}
.rs-price-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -20px rgba(0,0,0,0.18); }
.rs-price-card.featured { border-color: var(--rs-teal); box-shadow: 0 0 0 1px var(--rs-teal), 0 30px 60px -20px rgba(15,117,121,0.25); }
.rs-price-card .ribbon { position: absolute; top: -14px; right: 28px; background: var(--rs-teal); color: #fff; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; padding: 8px 14px; border-radius: 999px; }
.rs-price-card h4 { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 22px; margin: 0 0 8px; }
.rs-price-card .target { font-size: 12px; color: var(--rs-muted-on-light); margin: 0 0 20px; }
.rs-price-card .price { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 44px; line-height: 1; letter-spacing: -0.035em; color: var(--rs-dark); }
.rs-price-card.featured .price { color: var(--rs-teal); }
.rs-price-card .price small { font-family: 'Manrope', sans-serif; font-weight: 500; font-size: 14px; color: var(--rs-muted-on-light); margin-left: 6px; letter-spacing: 0; }
.rs-price-card .price-note { font-size: 12px; color: var(--rs-muted-on-light); margin: 4px 0 24px; }
.rs-price-card ul { list-style: none; padding: 0; margin: 0 0 16px; flex: 1; }
.rs-price-card li { font-size: 13px; line-height: 1.4; padding: 6px 0; border-top: 1px solid var(--rs-line-light); display: flex; gap: 10px; align-items: flex-start; }
.rs-price-card li:first-child { border-top: 0; }
.rs-price-card li::before {
  content: ""; width: 16px; height: 16px; flex: 0 0 auto; margin-top: 4px;
  background: var(--rs-teal);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>") no-repeat center / contain;
}

/* ----- Versus ----- */
.rs-versus { background: var(--rs-dark-3); overflow-x: hidden; }
.rs-versus-header { padding: 60px clamp(24px, 5vw, 96px) 0; text-align: center; color: var(--rs-light); }
.rs-versus-header .rs-h2 { margin-left: auto; margin-right: auto; }
.rs-versus-header p { margin: 28px auto 0; max-width: 62ch; }
.rs-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 720px; width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); overflow-x: hidden; }
@media (max-width: 900px) { .rs-split { grid-template-columns: 1fr; min-height: auto; width: 100%; max-width: 100%; margin-left: 0; } }
.rs-panel { padding: 80px clamp(32px, 5vw, 80px); position: relative; overflow: hidden; }
.rs-panel-ai { background: linear-gradient(135deg, #0a4a4d 0%, #0F7579 60%, #14a0a6 100%); color: #fff; }
.rs-panel-human { background: #f0e6d8; color: #2a1f15; }
.rs-panel h3 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; letter-spacing: -0.035em; font-size: clamp(40px, 5vw, 80px); line-height: 0.95; margin: 0 0 24px; }
.rs-panel-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 40px; }
@media (max-width: 900px) {
  .rs-panel-stats { grid-template-columns: 1fr; gap: 8px; }
  .rs-panel-stat { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
  .rs-panel-stat .k { margin-bottom: 0; }
  .rs-panel-stat .v { font-size: 22px; }
}
.rs-panel-stat { padding: 20px; border-radius: 14px; }
.rs-panel-ai .rs-panel-stat { background: rgba(0,0,0,0.22); }
.rs-panel-human .rs-panel-stat { background: rgba(42,31,21,0.08); }
.rs-panel-stat .k { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; opacity: 0.7; margin-bottom: 8px; }
.rs-panel-stat .v { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 28px; line-height: 1; }
.rs-panel-stat .v small { font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 13px; margin-left: 4px; opacity: 0.7; }
.rs-panel-list { list-style: none; padding: 0; margin: 0 0 32px; }
.rs-panel-list li { padding: 10px 0; font-size: 15px; line-height: 1.4; border-top: 1px solid rgba(255,255,255,0.12); display: flex; gap: 12px; }
.rs-panel-human .rs-panel-list li { border-color: rgba(42,31,21,0.15); }
.rs-panel-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; margin-top: 9px; flex: 0 0 auto; }
.rs-panel-ai .rs-panel-list li::before { background: #fff; }
.rs-panel-human .rs-panel-list li::before { background: #5a3a1f; }

/* ----- Cases ----- */
.rs-cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 80px; }
@media (max-width: 800px) { .rs-cases { grid-template-columns: 1fr; } }
.rs-case-tile { background: var(--rs-dark-2); border: 1px solid var(--rs-line-dark); border-radius: 20px; padding: 32px 32px 28px; transition: border-color .35s var(--rs-ease), transform .35s var(--rs-ease); overflow: hidden; }
.rs-case-tile:hover { border-color: var(--rs-teal); transform: translateY(-4px); }
.rs-case-tile .num { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 13px; color: var(--rs-teal-bright); margin-bottom: 14px; letter-spacing: 0.1em; }
.rs-case-tile h4 { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 22px; margin: 0 0 12px; letter-spacing: -0.01em; line-height: 1.2; }
.rs-case-tile p { color: var(--rs-muted-on-dark); font-size: 14px; line-height: 1.55; margin: 0; max-width: 42ch; font-style: italic; }

/* ----- Pilot ----- */
.rs-pilot { text-align: center; background: var(--rs-teal); color: #fff; position: relative; overflow: hidden; }
.rs-pilot::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.18), transparent 55%); pointer-events: none; }
.rs-pilot .badge { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 700; background: rgba(255,255,255,0.18); padding: 10px 18px; border-radius: 999px; display: inline-block; margin-bottom: 32px; }
.rs-pilot h2 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; letter-spacing: -0.035em; font-size: clamp(48px, 8vw, 140px); line-height: 0.95; margin: 0 auto 24px; max-width: 16ch; }
.rs-pilot p { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; max-width: 58ch; margin: 0 auto 48px; opacity: 0.92; }

/* ----- Contact form ----- */
.rs-contact { padding: 160px clamp(24px, 5vw, 96px) 120px; background: var(--rs-dark); color: var(--rs-light); position: relative; overflow: hidden; }
.rs-contact::before { content: ""; position: absolute; top:-20%; right:-15%; width: 80vw; height: 80vw; background: radial-gradient(closest-side, rgba(15,117,121,0.22), transparent 70%); pointer-events: none; }
.rs-contact-grid { position: relative; z-index: 2; max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
@media (max-width: 1000px) { .rs-contact-grid { grid-template-columns: 1fr; gap: 60px; } }
.rs-contact h1 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 600; letter-spacing: -0.015em; font-size: clamp(48px, 6vw, 96px); line-height: 1.02; margin: 24px 0 32px; max-width: 14ch; }
.rs-contact h1 .accent { color: var(--rs-teal-bright); }
.rs-contact p { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; color: var(--rs-muted-on-dark); max-width: 44ch; margin: 0 0 40px; }
.rs-form-wrap { background: var(--rs-dark-2); border: 1px solid var(--rs-line-dark); border-radius: 24px; padding: 48px clamp(28px, 4vw, 56px); }

/* ----- FAQ ----- */
.rs-faq { background: var(--rs-dark-2); padding: 100px clamp(24px, 5vw, 96px); color: var(--rs-light); border-top: 1px solid var(--rs-line-dark); }
.rs-faq .rs-wrap { max-width: 1080px; }
.rs-faq h2 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 600; letter-spacing: -0.015em; font-size: clamp(36px, 4vw, 60px); line-height: 1.05; margin: 24px 0 48px; max-width: 18ch; }
.rs-faq-item { border-top: 1px solid var(--rs-line-dark); padding: 24px 0; }
.rs-faq-item:last-child { border-bottom: 1px solid var(--rs-line-dark); }
.rs-faq-q { display: flex; justify-content: space-between; gap: 24px; cursor: pointer; font-size: 19px; font-weight: 600; }
.rs-faq-q .toggle { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--rs-line-dark); display: flex; align-items: center; justify-content: center; transition: transform .35s var(--rs-ease); color: var(--rs-teal-bright); flex: 0 0 auto; }
.rs-faq-item.open .toggle { transform: rotate(45deg); border-color: var(--rs-teal-bright); }
.rs-faq-a { max-height: 0; overflow: hidden; color: var(--rs-muted-on-dark); font-size: 15px; line-height: 1.6; transition: max-height .4s var(--rs-ease), padding .4s var(--rs-ease); }
.rs-faq-item.open .rs-faq-a { max-height: 400px; padding-top: 14px; }

/* ----- Footer ----- */
.rs-footer { background: var(--rs-dark-3); color: var(--rs-muted-on-dark); padding: 80px clamp(24px, 5vw, 96px) 40px; border-top: 1px solid var(--rs-line-dark); }
.rs-footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--rs-line-dark); flex-wrap: wrap; }
.rs-footer-brand { display: flex; flex-direction: column; gap: 22px; }
.rs-footer-brand img.logo { height: 52px; width: auto !important; max-width: none; object-fit: contain; object-position: left center; margin: 0 0 0 -6px; display: block; }
.rs-footer-tagline { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 600; font-size: 19px; line-height: 1.5; color: rgba(255,255,255,0.82); margin: 0; max-width: 30ch; letter-spacing: -0.01em; }
.rs-footer-tagline em { font-style: italic; color: var(--rs-teal-bright); }
.rs-footer-links { display: flex; gap: 28px; font-size: 13px; padding-top: 8px; }
.rs-footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color .2s; }
.rs-footer-links a:hover { color: var(--rs-teal-bright); }
@media (max-width:700px) {
  .rs-footer { padding-top: 56px; text-align: center; }
  .rs-footer-top { flex-direction: column; align-items: center; gap: 32px; }
  .rs-footer-brand { align-items: center; gap: 20px; }
  .rs-footer-brand img.logo { height: 56px; margin-left: 0; }
  .rs-footer-tagline { max-width: 26ch; font-size: 18px; }
  .rs-footer-links { justify-content: center; }
  .rs-footer-bottom { justify-content: center !important; text-align: center !important; width: 100%; display: flex; }
}
.rs-footer h5 { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: #fff; margin: 0 0 18px; }
.rs-footer ul { list-style: none; padding: 0; margin: 0; }
.rs-footer li { font-size: 14px; margin: 0 0 10px; }
.rs-footer a { color: inherit; text-decoration: none; }
.rs-footer a:hover { color: var(--rs-teal-bright); }
.rs-footer-bottom { display: flex; justify-content: space-between; padding-top: 32px; font-size: 12px; letter-spacing: 0.1em; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 12px; }

/* Hide stray WPForms required-field asterisk that floats to top of page */
.wpforms-required-abbr,
.wpforms-field abbr[title="required"],
body > abbr,
abbr[title="required"] { display: none !important; }

/* ----- Contact form 7 / WPForms unification ----- */
.rs-form-wrap input[type="text"],
.rs-form-wrap input[type="email"],
.rs-form-wrap input[type="tel"],
.rs-form-wrap input[type="url"],
.rs-form-wrap select,
.rs-form-wrap textarea {
  font-family: 'Manrope', sans-serif !important;
  font-size: 16px !important;
  color: #fff !important;
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid var(--rs-line-dark) !important;
  border-radius: 12px !important;
  padding: 16px 18px !important;
  width: 100% !important;
  outline: none !important;
  transition: border-color .3s var(--rs-ease), box-shadow .3s var(--rs-ease) !important;
}
.rs-form-wrap textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.rs-form-wrap input:focus,
.rs-form-wrap select:focus,
.rs-form-wrap textarea:focus { border-color: var(--rs-teal-bright) !important; box-shadow: 0 0 0 4px rgba(20,160,166,0.12) !important; }
.rs-form-wrap label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: rgba(255,255,255,0.55); display: block; margin-bottom: 10px; }
.rs-form-wrap label .req { color: var(--rs-teal-bright); }
.rs-form-wrap input[type="submit"],
.rs-form-wrap button[type="submit"] {
  background: var(--rs-teal) !important;
  color: #fff !important;
  border: 0 !important;
  padding: 16px 28px !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  cursor: pointer;
  transition: background .3s var(--rs-ease), transform .3s var(--rs-ease) !important;
}
.rs-form-wrap input[type="submit"]:hover,
.rs-form-wrap button[type="submit"]:hover { background: var(--rs-teal-bright) !important; transform: translateY(-2px); }

/* ----- Native RSound form (shortcode [rsound_contact_form]) ----- */
.rsound-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 600px) { .rsound-form .form-row { grid-template-columns: 1fr; } }
.rsound-form .field { margin-bottom: 22px; min-width: 0; width: 100%; }
.rsound-form .field input,
.rsound-form .field select,
.rsound-form .field textarea {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  display: block !important;
}
/* Hide common password-manager / autofill UI icons that float over fields */
.rsound-form input::-webkit-credentials-auto-fill-button,
.rsound-form input::-webkit-strong-password-auto-fill-button,
.rsound-form input::-webkit-caps-lock-indicator,
.rsound-form input::-webkit-contacts-auto-fill-button {
  visibility: hidden !important;
  pointer-events: none !important;
  position: absolute !important;
  right: 0 !important;
}
.rsound-form input { background-clip: padding-box !important; }
.rsound-form select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: right 18px center !important;
  padding-right: 44px !important;
}
.rsound-form select option { background: var(--rs-dark-2); color: #fff; }
.rsound-form .chip-group { display: flex; flex-wrap: wrap; gap: 10px; }
.rsound-form .chip {
  flex: 1; min-width: 0;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--rs-line-dark);
  background: rgba(255,255,255,0.03);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.78);
  text-align: center;
  cursor: pointer;
  transition: border-color .3s var(--rs-ease), background .3s var(--rs-ease), color .3s var(--rs-ease);
  user-select: none;
  font-family: inherit;
  outline: none;
}
.rsound-form .chip:hover { border-color: rgba(20,160,166,0.5); }
.rsound-form .chip:focus-visible { border-color: var(--rs-teal-bright); box-shadow: 0 0 0 4px rgba(20,160,166,0.18); }
.rsound-form .chip.active {
  border-color: var(--rs-teal);
  background: rgba(15,117,121,0.18);
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--rs-teal);
}
.rsound-form .chip small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  letter-spacing: 0;
  text-transform: none;
}
.rsound-form .form-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; margin-top: 32px; flex-wrap: wrap;
}
.rsound-form .form-consent {
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255,255,255,0.5);
  max-width: 36ch;
  margin: 0;
}
/* ----- RGPD consent checkbox ----- */
.rsound-form .rs-consent-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
  cursor: pointer;
  user-select: none;
}
.rsound-form .rs-consent-check input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}
.rsound-form .rs-consent-box {
  flex: none;
  width: 20px; height: 20px;
  margin-top: 1px;
  border-radius: 6px;
  border: 1.5px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.04);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.rsound-form .rs-consent-box::after {
  content: "";
  width: 10px; height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) scale(0.4);
  opacity: 0;
  margin-top: -2px;
  transition: opacity 0.16s ease, transform 0.16s ease;
}
.rsound-form .rs-consent-check input:checked ~ .rs-consent-box {
  background: var(--rs-teal-bright, #14a0a6);
  border-color: var(--rs-teal-bright, #14a0a6);
}
.rsound-form .rs-consent-check input:checked ~ .rs-consent-box::after {
  opacity: 1;
  transform: rotate(-45deg) scale(1);
}
.rsound-form .rs-consent-check input:focus-visible ~ .rs-consent-box {
  outline: 2px solid var(--rs-teal-bright, #14a0a6);
  outline-offset: 2px;
}
.rsound-form .rs-consent-text {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.72);
}

/* ----- Success state ----- */
.rsound-form-success {
  padding: 60px 20px;
  text-align: center;
}
.rsound-form-success .check {
  width: 72px; height: 72px;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(20,160,166,0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--rs-teal-bright);
}
.rsound-form-success h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  margin: 24px 0 16px;
  color: #fff;
}
.rsound-form-success p {
  color: var(--rs-muted-on-dark);
  max-width: 36ch;
  margin: 0 auto;
  line-height: 1.55;
}

/* ==========================================================
   WPForms PRO — Réplique exacte de la maquette RSound Connect
   ----------------------------------------------------------
   Build attendu dans WPForms (voir guide) :
   - Prénom / Nom : 2 champs "Texte" en layout 50/50
   - Email pro / Téléphone : layout 50/50
   - Entreprise / Site WordPress : layout 50/50
   - Package envisagé : Multiple Choice, classe CSS "rs-chips"
   - Délai souhaité : Liste déroulante
   - Projet : Texte de paragraphe
   - RGPD : Accord RGPD (ou Cases à cocher), classe "rs-gdpr"
   ========================================================== */

/* ----- Labels (majuscules, comme la maquette) ----- */
.rs-form-wrap .wpforms-field-label {
  font-family: 'Manrope', sans-serif !important;
  font-size: 11px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  color: rgba(255,255,255,0.55) !important;
  margin: 0 0 10px !important;
}
.rs-form-wrap .wpforms-required-label { color: var(--rs-teal-bright) !important; }
.rs-form-wrap .wpforms-field-description {
  color: rgba(255,255,255,0.4) !important;
  font-size: 12px !important;
}

/* ----- Inputs / selects / textarea (maquette) ----- */
.rs-form-wrap .wpforms-form input[type="text"],
.rs-form-wrap .wpforms-form input[type="email"],
.rs-form-wrap .wpforms-form input[type="tel"],
.rs-form-wrap .wpforms-form input[type="url"],
.rs-form-wrap .wpforms-form input[type="number"],
.rs-form-wrap .wpforms-form select,
.rs-form-wrap .wpforms-form textarea {
  font-family: 'Manrope', sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: #fff !important;
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 12px !important;
  padding: 16px 18px !important;
  width: 100% !important;
  box-shadow: none !important;
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease !important;
}
.rs-form-wrap .wpforms-form input::placeholder,
.rs-form-wrap .wpforms-form textarea::placeholder {
  color: rgba(255,255,255,0.3) !important;
}
.rs-form-wrap .wpforms-form input:focus,
.rs-form-wrap .wpforms-form select:focus,
.rs-form-wrap .wpforms-form textarea:focus {
  border-color: var(--rs-teal-bright) !important;
  background: rgba(20,160,166,0.06) !important;
  box-shadow: 0 0 0 4px rgba(20,160,166,0.12) !important;
  outline: none !important;
}
.rs-form-wrap .wpforms-form textarea {
  min-height: 140px !important;
  line-height: 1.5 !important;
  resize: vertical !important;
}

/* Flèche du select (classique) */
.rs-form-wrap .wpforms-form select {
  appearance: none !important; -webkit-appearance: none !important;
  height: auto !important; line-height: 1.4 !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: right 18px center !important;
  padding-right: 44px !important;
}
.rs-form-wrap .wpforms-form select option { background: var(--rs-dark-2) !important; color: #fff !important; }

/* ----- Menu "Moderne" (Choices.js) de WPForms Pro ----- */
.rs-form-wrap .choices { margin: 0 !important; }
.rs-form-wrap .choices__inner {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 12px !important;
  min-height: 0 !important;
  padding: 16px 44px 16px 18px !important;
  font-family: 'Manrope', sans-serif !important;
  font-size: 16px !important;
}
.rs-form-wrap .choices__inner .choices__list--single { padding: 0 !important; }
.rs-form-wrap .choices__list--single .choices__item,
.rs-form-wrap .choices__placeholder {
  color: #fff !important; opacity: 1 !important; line-height: 1.4 !important;
}
.rs-form-wrap .choices[data-type*="select-one"]::after {
  border-color: rgba(255,255,255,0.5) transparent transparent !important;
  right: 18px !important;
}
.rs-form-wrap .choices[data-type*="select-one"].is-open::after {
  border-color: transparent transparent rgba(255,255,255,0.5) !important;
}
.rs-form-wrap .choices__list--dropdown,
.rs-form-wrap .choices__list[role="listbox"] {
  background: var(--rs-dark-2) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  border-radius: 12px !important; margin-top: 6px !important;
}
.rs-form-wrap .choices__list--dropdown .choices__item,
.rs-form-wrap .choices__list[role="listbox"] .choices__item {
  color: rgba(255,255,255,0.8) !important; font-size: 15px !important;
}
.rs-form-wrap .choices__list--dropdown .choices__item--selectable.is-highlighted,
.rs-form-wrap .choices__list[role="listbox"] .choices__item--selectable.is-highlighted {
  background: rgba(20,160,166,0.18) !important; color: #fff !important;
}

/* ----- Largeur : tous les champs en pleine largeur ----- */
/* WPForms limite par défaut à "Medium" (~60%). On force 100%. */
.rs-form-wrap .wpforms-field { padding: 0 0 22px !important; margin: 0 !important; width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; }
.rs-form-wrap input.wpforms-field-medium,
.rs-form-wrap input.wpforms-field-small,
.rs-form-wrap select.wpforms-field-medium,
.rs-form-wrap select.wpforms-field-small,
.rs-form-wrap textarea.wpforms-field-medium,
.rs-form-wrap textarea.wpforms-field-small,
.rs-form-wrap .wpforms-field-row.wpforms-field-medium,
.rs-form-wrap .wpforms-field-row.wpforms-field-small { max-width: 100% !important; width: 100% !important; }

/* ==========================================================
   Champ Nom (Prénom / Nom)
   WPForms force .wpforms-one-half { width:48%; margin-right:3.8%;
   float:left } via un sélecteur très spécifique. Pour le battre SANS
   casser le ciblage, on DOUBLE les classes (truc de spécificité :
   .x.x cible le même élément mais compte double).
   ========================================================== */
.rs-form-wrap .wpforms-field-name { width: 100% !important; grid-column: 1 / -1 !important; }
.rs-form-wrap .wpforms-field-name .wpforms-field-row.wpforms-field-row.wpforms-field-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
  width: 100% !important; max-width: 100% !important;
  margin: 0 !important; padding: 0 !important;
  float: none !important;
}
.rs-form-wrap .wpforms-field-name .wpforms-field-row .wpforms-field-row-block.wpforms-field-row-block.wpforms-field-row-block,
.rs-form-wrap .wpforms-field-name .wpforms-field-row .wpforms-one-half.wpforms-one-half.wpforms-one-half,
.rs-form-wrap .wpforms-field-name .wpforms-field-row > div {
  display: block !important;
  width: 100% !important; max-width: 100% !important; min-width: 0 !important;
  margin: 0 !important; margin-right: 0 !important; margin-left: 0 !important;
  padding: 0 !important; float: none !important;
  box-sizing: border-box !important;
}
.rs-form-wrap .wpforms-field-name input {
  width: 100% !important; max-width: 100% !important; box-sizing: border-box !important;
}

/* Sous-labels du champ Nom (Prénom / Nom) */
.rs-form-wrap .wpforms-field-sublabel {
  color: rgba(255,255,255,0.45) !important;
  font-size: 11px !important; font-weight: 500 !important;
  letter-spacing: 0.04em !important; text-transform: none !important;
}

/* ==========================================================
   PACKAGE ENVISAGÉ — chips (classe CSS "rs-chips" sur le champ)
   Options à saisir dans WPForms (titres seuls) :
     1) Plugin 59 €/mois   2) Voix humaine
     3) Pilote 2026        4) J'explore
   Les sous-titres sont injectés en CSS ci-dessous.
   ========================================================== */
/* Ciblage par TYPE : s'applique automatiquement au seul champ radio,
   sans avoir besoin d'ajouter la classe rs-chips dans WPForms. */
.rs-form-wrap .wpforms-field-radio ul,
.rs-form-wrap .rs-chips ul {
  display: flex !important; flex-wrap: wrap !important; gap: 10px !important;
  list-style: none !important; margin: 0 !important; padding: 0 !important;
}
.rs-form-wrap .wpforms-field-radio ul li,
.rs-form-wrap .rs-chips ul li {
  flex: 1 1 0 !important; min-width: 120px !important;
  margin: 0 !important; padding: 0 !important; position: relative !important;
  display: flex !important;
}
.rs-form-wrap .wpforms-field-radio ul li input[type="radio"],
.rs-form-wrap .rs-chips ul li input[type="radio"] {
  position: absolute !important; inset: 0 !important;
  width: 100% !important; height: 100% !important;
  margin: 0 !important; padding: 0 !important;
  opacity: 0 !important; cursor: pointer !important;
  appearance: none !important; border: none !important;
}
.rs-form-wrap .wpforms-field-radio ul li label,
.rs-form-wrap .rs-chips ul li label {
  display: flex !important; flex-direction: column !important;
  align-items: center !important; justify-content: center !important;
  flex: 1 1 auto !important; width: 100% !important;
  text-align: center !important;
  padding: 14px 16px !important; border-radius: 12px !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  background: rgba(255,255,255,0.03) !important;
  font-family: 'Manrope', sans-serif !important;
  font-size: 13px !important; font-weight: 600 !important;
  letter-spacing: 0 !important; text-transform: none !important;
  color: #fff !important; cursor: pointer !important;
  transition: border-color .3s ease, background .3s ease !important;
  margin: 0 !important;
}
.rs-form-wrap .wpforms-field-radio ul li:hover label,
.rs-form-wrap .rs-chips ul li:hover label { border-color: rgba(20,160,166,0.5) !important; }
.rs-form-wrap .wpforms-field-radio ul li input:checked + label,
.rs-form-wrap .rs-chips ul li input:checked + label {
  border-color: var(--rs-teal) !important;
  background: rgba(15,117,121,0.18) !important;
  box-shadow: inset 0 0 0 1px var(--rs-teal) !important;
}
/* Sous-titres injectés (ordre des options ci-dessus) */
.rs-form-wrap .wpforms-field-radio ul li label::after,
.rs-form-wrap .rs-chips ul li label::after {
  display: block !important; margin-top: 4px !important;
  font-size: 11px !important; font-weight: 500 !important;
  color: rgba(255,255,255,0.55) !important;
  letter-spacing: 0 !important; text-transform: none !important;
}
.rs-form-wrap .wpforms-field-radio ul li:nth-child(1) label::after,
.rs-form-wrap .rs-chips ul li:nth-child(1) label::after { content: "Mode IA inclus" !important; }
.rs-form-wrap .wpforms-field-radio ul li:nth-child(2) label::after,
.rs-form-wrap .rs-chips ul li:nth-child(2) label::after { content: "Sur devis" !important; }
.rs-form-wrap .wpforms-field-radio ul li:nth-child(3) label::after,
.rs-form-wrap .rs-chips ul li:nth-child(3) label::after { content: "Plugin 2 mois offerts" !important; }
.rs-form-wrap .wpforms-field-radio ul li:nth-child(4) label::after,
.rs-form-wrap .rs-chips ul li:nth-child(4) label::after { content: "Pas encore décidé" !important; }

/* ==========================================================
   RGPD — checkbox custom (classe "rs-gdpr" sur le champ)
   Marche pour "Accord RGPD" et "Cases à cocher"
   ========================================================== */
/* Ciblage par TYPE : s'applique au seul champ checkbox / Accord RGPD,
   sans avoir besoin de la classe rs-gdpr. */
.rs-form-wrap .wpforms-field-checkbox ul,
.rs-form-wrap .wpforms-field-gdpr-checkbox ul,
.rs-form-wrap .rs-gdpr ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.rs-form-wrap .wpforms-field-checkbox ul li,
.rs-form-wrap .wpforms-field-gdpr-checkbox ul li,
.rs-form-wrap .rs-gdpr ul li {
  display: flex !important; align-items: flex-start !important; gap: 12px !important;
  margin: 0 !important;
}
.rs-form-wrap .wpforms-field-checkbox input[type="checkbox"],
.rs-form-wrap .wpforms-field-gdpr-checkbox input[type="checkbox"],
.rs-form-wrap .rs-gdpr input[type="checkbox"] {
  appearance: none !important; -webkit-appearance: none !important;
  flex: 0 0 20px !important; width: 20px !important; height: 20px !important;
  min-width: 20px !important; min-height: 20px !important;
  margin: 1px 0 0 !important; padding: 0 !important; border-radius: 6px !important;
  border: 1.5px solid rgba(255,255,255,0.28) !important;
  background-color: rgba(255,255,255,0.04) !important;
  background-image: none !important;
  box-shadow: none !important; outline: none !important;
  accent-color: var(--rs-teal-bright) !important;
  cursor: pointer !important; position: relative !important; top: 0 !important;
  transition: border-color .18s ease, background-color .18s ease !important;
}
/* Neutralise la coche que WPForms "modern markup" dessine en ::before */
.rs-form-wrap .wpforms-field-checkbox input[type="checkbox"]::before,
.rs-form-wrap .wpforms-field-gdpr-checkbox input[type="checkbox"]::before,
.rs-form-wrap .rs-gdpr input[type="checkbox"]::before {
  content: none !important; display: none !important; background: none !important;
}
.rs-form-wrap .wpforms-field-checkbox input[type="checkbox"]:checked,
.rs-form-wrap .wpforms-field-gdpr-checkbox input[type="checkbox"]:checked,
.rs-form-wrap .rs-gdpr input[type="checkbox"]:checked {
  background-color: var(--rs-teal-bright) !important;
  background-image: none !important;
  border-color: var(--rs-teal-bright) !important;
}
.rs-form-wrap .wpforms-field-checkbox input[type="checkbox"]:checked::after,
.rs-form-wrap .wpforms-field-gdpr-checkbox input[type="checkbox"]:checked::after,
.rs-form-wrap .rs-gdpr input[type="checkbox"]:checked::after {
  content: "" !important; position: absolute !important;
  left: 7px !important; top: 3px !important;
  width: 4px !important; height: 9px !important;
  border-right: 2px solid #fff !important; border-bottom: 2px solid #fff !important;
  border-top: 0 !important; border-left: 0 !important;
  background: none !important;
  transform: rotate(45deg) !important; display: block !important;
  box-sizing: content-box !important;
}
.rs-form-wrap .wpforms-field-checkbox ul li label,
.rs-form-wrap .wpforms-field-gdpr-checkbox ul li label,
.rs-form-wrap .rs-gdpr label {
  font-size: 13px !important; line-height: 1.5 !important; font-weight: 500 !important;
  letter-spacing: 0 !important; text-transform: none !important;
  color: rgba(255,255,255,0.72) !important; cursor: pointer !important; margin: 0 !important;
}

/* ----- Bouton submit (maquette) ----- */
.rs-form-wrap .wpforms-submit-container { margin-top: 8px !important; }
.rs-form-wrap .wpforms-form button.wpforms-submit {
  display: inline-flex !important; align-items: center !important; gap: 10px !important;
  background: var(--rs-teal) !important; color: #fff !important;
  border: none !important; border-radius: 100px !important;
  padding: 16px 30px !important;
  font-family: 'Manrope', sans-serif !important;
  font-size: 15px !important; font-weight: 700 !important; letter-spacing: 0.01em !important;
  cursor: pointer !important;
  transition: background .3s ease, transform .3s ease, box-shadow .3s ease !important;
}
.rs-form-wrap .wpforms-form button.wpforms-submit:hover {
  background: var(--rs-teal-bright) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 40px -10px var(--rs-teal-glow) !important;
}

/* ----- Erreurs / confirmation ----- */
.rs-form-wrap .wpforms-form .wpforms-field-error,
.rs-form-wrap label.wpforms-error {
  color: #ff7b7b !important; font-size: 12px !important; margin-top: 6px !important;
  text-transform: none !important; letter-spacing: 0 !important;
}
.rs-form-wrap .wpforms-form input.wpforms-error,
.rs-form-wrap .wpforms-form textarea.wpforms-error {
  border-color: rgba(255,123,123,0.6) !important;
}
.rs-form-wrap .wpforms-form { background: transparent !important; }
.rs-form-wrap .wpforms-confirmation-container-full {
  background: rgba(20,160,166,0.1) !important;
  border: 1px solid rgba(20,160,166,0.3) !important;
  border-radius: 12px !important;
  color: #fff !important;
  padding: 24px !important;
}

/* ==========================================================
   GRILLE UNIQUE 2 COLONNES — aligne tout au pixel
   Email/Tél et Entreprise/Site = colonnes 1fr chacune
   Prénom/Nom = grille interne 1fr 1fr → widths identiques
   ========================================================== */
.rs-form-wrap .wpforms-field-container {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  column-gap: 16px !important;
  row-gap: 0 !important;
  align-items: start !important;
}
/* Pleine largeur (span 2) */
.rs-form-wrap .wpforms-field-container > .wpforms-field-name,
.rs-form-wrap .wpforms-field-container > .wpforms-field-radio,
.rs-form-wrap .wpforms-field-container > .wpforms-field-select,
.rs-form-wrap .wpforms-field-container > .wpforms-field-textarea,
.rs-form-wrap .wpforms-field-container > .wpforms-field-checkbox,
.rs-form-wrap .wpforms-field-container > .wpforms-field-gdpr-checkbox {
  grid-column: 1 / -1 !important;
}
.rs-form-wrap .wpforms-field-container > .wpforms-field { min-width: 0 !important; }

/* Téléphone : place pour le drapeau */
.rs-form-wrap .wpforms-field-phone input,
.rs-form-wrap .wpforms-field-phone .iti input,
.rs-form-wrap .iti input { padding-left: 54px !important; }

/* Responsive */
@media (max-width: 700px) {
  .rs-form-wrap .wpforms-field-container {
    grid-template-columns: 1fr !important;
  }
  .rs-form-wrap .wpforms-field-container > .wpforms-field-name { grid-column: 1 !important; }
  /* Chips : 2 par ligne */
  .rs-form-wrap .wpforms-field-radio ul li,
  .rs-form-wrap .rs-chips ul li { flex: 1 1 calc(50% - 5px) !important; min-width: calc(50% - 5px) !important; }
}
@media (max-width: 460px) {
  /* Prénom + Nom empilés */
  .rs-form-wrap .wpforms-field-name .wpforms-field-row { grid-template-columns: 1fr !important; }
  /* Chips : 1 par ligne */
  .rs-form-wrap .wpforms-field-radio ul li,
  .rs-form-wrap .rs-chips ul li { flex: 1 1 100% !important; min-width: 100% !important; }
}
