/* ============================================
   RETOUR GAGNANT — RESPONSIVE (Tablet + Desktop)
   Breakpoints: 576px, 768px, 992px, 1200px
   ============================================ */

/* ── Small tablets (576px+) ── */
@media (min-width: 576px) {
  .rg-hero h1 {
    font-size: 4.5rem;
  }

  .rg-hero h1 .small {
    font-size: 3rem;
  }

  .rg-h2 {
    font-size: 3rem;
  }

  .rg-cta h2 {
    font-size: 4.5rem;
  }

  .rg-pub-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .rg-pub-item {
    border-right: 1px solid var(--border);
    border-bottom: none;
  }

  .rg-pub-item:nth-child(2n) {
    border-right: 1px solid var(--border);
  }

  .rg-pub-item:nth-child(4n) {
    border-right: none;
  }

  .rg-pub-item:nth-last-child(-n+4) {
    border-bottom: none;
  }

  .rg-valeurs-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .rg-valeur-item:nth-child(3n) {
    border-right: none;
  }

  .rg-valeur-item:nth-child(2n) {
    border-right: 1px solid var(--border);
  }

  .rg-valeur-item:nth-last-child(-n+3) {
    border-bottom: none;
  }

  .rg-valeur-item:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--border);
  }
}

/* ── Tablets (768px+) ── */
@media (min-width: 768px) {
  .rg-container {
    padding: 0 2rem;
  }
  
  .page .rg-container:not(.page-hero){
      padding: 0;
  }
  
  .page .rg-container:not(.page-hero) .rg-page-body .padding{
      padding: 52px 48px;
  }

  .rg-container-narrow {
    padding: 0 2rem;
  }

  /* Nav */
  .rg-menu-toggle {
    display: none;
  }

  .rg-nav {
    padding: 0 2rem;
    height: 68px;
  }

  .rg-nav-inner {
    height: 68px;
  }

  .rg-nav-links,#menu-main,#menu-menu-principal,#menu-principal {
    display: flex !important;
    position: static;
    flex-direction: row;
    padding: 0;
    gap: 1.5rem;
    border: none;
    margin-left: auto;
    background: transparent;
    align-items: center;
  }

  .rg-nav-link {
    padding: 0;
    font-size: 0.6875rem;
  }

  .rg-nav-cta {
    margin-top: 0;
    margin-left: 1.25rem;
  }

  /* Hero */
  .rg-hero {
    min-height: 580px;
    padding: 0;
  }

  .rg-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 580px;
  }

  .rg-hero-left {
    padding: 4.5rem 2rem 4rem;
    border-right: 1px solid var(--border);
    justify-content: space-between;
  }

  .rg-hero h1 {
    font-size: 5rem;
  }

  .rg-hero h1 .small {
    font-size: 3.25rem;
  }

  .rg-hero-right {
    padding: 3.5rem 2.5rem;
  }

  .rg-hero-right svg.logo-large {
    width: 200px;
    height: 200px;
  }

  /* Trust bar */
  .rg-trust-bar {
    grid-template-columns: repeat(4, 1fr);
  }

  .rg-trust-item {
    border-bottom: none;
    padding: 1rem 1.25rem;
  }

  .rg-trust-item:nth-child(2n) {
    border-right: 1px solid rgba(74,21,18,0.15);
  }

  .rg-trust-item:last-child {
    border-right: none;
  }

  /* Sections */
  .rg-section {
    padding: 5rem 2rem;
  }

  .rg-section-narrow {
    padding: 5rem 2rem;
  }

  .rg-h2 {
    font-size: 3.5rem;
  }

  /* Coach */
  .rg-coach-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
  }

  .rg-coach-visual {
    min-height: 380px;
    border-right: 1px solid var(--border);
  }

  .rg-coach-monogram {
    font-size: 7.5rem;
  }

  .rg-coach-info {
    padding: 3.25rem 3rem;
  }

  .rg-coach-name {
    font-size: 3rem;
  }

  /* Cours */
  .rg-cours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .rg-cours-num {
    font-size: 3.5rem;
  }

  .rg-cours-title {
    font-size: 1.875rem;
  }

  /* Publics */
  .rg-pub-num {
    font-size: 2.75rem;
  }

  .rg-pub-label {
    font-size: 1.25rem;
  }

  /* PTR */
  .rg-ptr {
    padding: 3.5rem 2rem;
    /*flex-direction: row;*/
    align-items: center;
    gap: 2rem;
    grid-template-columns: auto 1fr auto;
  }

  .rg-ptr-title {
    font-size: 2.25rem;
  }

  /* Valeurs */
  .rg-valeurs-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .rg-valeur-item {
    border-right: 1px solid var(--border);
    border-bottom: none;
    padding: 1.5rem 1rem;
  }

  .rg-valeur-item:nth-child(3n) {
    border-right: 1px solid var(--border);
  }

  .rg-valeur-item:nth-child(6n) {
    border-right: none;
  }

  .rg-valeur-item:nth-last-child(-n+6) {
    border-bottom: none;
  }

  .rg-valeur-icon {
    font-size: 1.625rem;
  }

  .rg-valeur-name {
    font-size: 0.9375rem;
  }

  /* Actus */
  .rg-actus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  /* CTA */
  .rg-cta {
    padding: 5.5rem 3.25rem;
  }

  .rg-cta h2 {
    font-size: 5rem;
  }

  /* Footer */
  .rg-footer {
    flex-direction: row;
    justify-content: space-between;
    padding: 1.75rem 3.25rem;
  }
  
  /* CONS PROS */
  
  .single .geo-proscons.inverse .geo-proscons-columns .geo-proscons-pros{
        grid-column: 2;
    }
    .single .geo-proscons.inverse .geo-proscons-columns .geo-proscons-cons{
        grid-row: 1;
        grid-column: 1;
    }
}

/* ── Desktop (992px+) ── */
@media (min-width: 992px) {
  .rg-container {
    padding: 0 3.25rem;
  }
  .page .rg-container:not(.page-hero),.single header.rg-header .rg-container:not(.page-hero){
    padding: 0;
  }
  .single main .rg-container:not(.page-hero){
      max-width: 1600px;
  }
  .page.legal .rg-container.cadre{
    max-width: 824px;
    margin: 0 auto;
    padding: 64px 52px;
  }
  
  .page .rg-container:not(.page-hero) .rg-page-body .padding{
      padding: 52px 48px;
  }
  
  .page .rg-container:not(.page-hero) .rg-page-body .paddingTB{
        padding: 52px 0;
    }
    
    .page .rg-container:not(.page-hero) .rg-page-body .smallpadding{
        padding:16px 20px;
    }

  .rg-container-narrow {
    padding: 0 3.25rem;
  }

  .rg-nav {
    padding: 0 3.25rem;
  }

  .rg-nav-links {
    gap: 2rem;
  }

  .rg-hero-left {
    padding: 4.5rem 3.25rem 4rem;
  }

  .rg-hero h1 {
    font-size: 6.25rem;
  }

  .rg-hero h1 .small {
    font-size: 4rem;
  }

  .rg-h2 {
    font-size: 3.5rem;
  }

  .rg-coach-grid {
    grid-template-columns: 380px 1fr;
  }

  .rg-coach-monogram {
    font-size: 7.5rem;
  }

  .rg-section {
    padding: 5rem 3.25rem;
  }

  .rg-section-narrow {
    padding: 5rem 3.25rem;
  }

  .rg-cta h2 {
    font-size: 5rem;
  }
  .hero-breadcrumbs li:last-child{
        display: inherit;
    }
  .single section.hero{
        display: flex;
        justify-content: space-between;
        /*align-items: center;*/
        gap:32px;
        padding: 44px 52px 36px;
  }
  .single section.hero .rg-article-thumb{
    position: relative;
    height:300px;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    width: 600px;
    border: 1px solid var(--or);
  }
  .single section.hero .rg-article-thumb img{
      object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    top:0;
    left:0;
  }
  
  .single main .rg-container{
      display: grid;
      grid-template-columns: 5fr 2fr;
      gap:32px;
  }
  
  
}

/* ── Large desktop (1200px+) ── */
@media (min-width: 1200px) {
  .rg-hero h1 {
    font-size: 6.25rem;
  }

  .rg-h2 {
    font-size: 3.5rem;
  }

  .rg-cta h2 {
    font-size: 5rem;
  }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
