/* ============================================
   SANKIYA - RuralVision Page Styles
   Green theme: #15803d / #16a34a / #166534
   ============================================ */

/* --- RuralVision Variables --- */
:root {
    --rv-green-dark: #166534;
    --rv-green: #15803d;
    --rv-green-mid: #16a34a;
    --rv-green-light: #22c55e;
    --rv-green-50: #f0fdf4;
    --rv-green-100: #dcfce7;
    --rv-purple: #7c3aed;
    --rv-purple-dark: #6d28d9;
    --rv-purple-50: #f5f3ff;
    --rv-amber: #d97706;
    --rv-amber-50: #fffbeb;
    --rv-amber-200: #fde68a;
    --rv-yellow-50: #fefce8;
    --rv-yellow-200: #fef08a;
}

/* --- Hero --- */
.rv-hero {
    position: relative;
    background: linear-gradient(135deg, var(--rv-green-dark) 0%, var(--rv-green) 100%);
    color: var(--white);
    padding: 7rem 0 5rem;
    overflow: hidden;
    margin-top: 72px;
}

.rv-hero-bg-orb {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
    pointer-events: none;
}

.rv-hero-bg-orb--yellow {
    background: #facc15;
    top: -40px;
    left: -40px;
}

.rv-hero-bg-orb--green {
    background: var(--rv-green-light);
    bottom: -40px;
    right: -40px;
}

.rv-hero-inner {
    position: relative;
    z-index: 2;
}

.rv-hero-content {
    max-width: 800px;
}

.rv-hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    background: var(--white);
    border-radius: 50%;
    font-size: 3rem;
    margin-bottom: 1.75rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.rv-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.rv-hero-subtitle {
    font-size: 1.6rem;
    color: #ffffff;
    opacity: 1;
    margin-bottom: 1.25rem;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.rv-hero-desc {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.95);
    opacity: 1;
    line-height: 1.8;
    max-width: 680px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

/* --- Sections --- */
.rv-section {
    padding: 5rem 0;
}

.rv-section--white {
    background: var(--white);
}

.rv-section--gray {
    background: var(--off-white);
}

.rv-narrow {
    max-width: 820px;
    margin: 0 auto;
}

.rv-narrow-lg {
    max-width: 960px;
    margin: 0 auto;
}

/* --- Headings --- */
.rv-heading {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-blue-dark);
    margin-bottom: 2rem;
    line-height: 1.25;
}

.rv-heading--center {
    text-align: center;
}

.rv-subheading {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-blue-dark);
    margin-bottom: 2rem;
}

/* --- Text --- */
.rv-text {
    font-size: 1.08rem;
    line-height: 1.85;
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.rv-text strong {
    color: var(--text-color);
}

/* --- Benefits grid (Intro) --- */
.rv-benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin: 2.5rem 0;
}

.rv-benefit-card {
    background: linear-gradient(135deg, var(--rv-green-50), var(--rv-green-100));
    border-left: 4px solid var(--rv-green);
    border-radius: 12px;
    padding: 1.5rem;
}

.rv-benefit-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--rv-green-dark);
    margin: 0;
    line-height: 1.4;
}

/* --- Callouts --- */
.rv-callout {
    border-radius: 16px;
    padding: 2rem 2.25rem;
    margin: 2.5rem 0;
}

.rv-callout--blue {
    background: #eff6ff;
    border-left: 4px solid var(--primary-blue);
}

.rv-callout--green {
    background: linear-gradient(135deg, var(--rv-green-50), var(--rv-green-100));
    border-left: 4px solid var(--rv-green);
}

.rv-callout h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--rv-green-dark);
    margin-bottom: 1rem;
}

.rv-callout--blue h3 {
    color: var(--primary-blue-dark);
}

.rv-callout p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.rv-callout p:last-child {
    margin-bottom: 0;
}

.rv-callout-emphasis {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: var(--primary-blue-dark) !important;
    margin-top: 1rem !important;
}

/* --- Objectif Global --- */
.rv-obj-global {
    max-width: 960px;
    margin: 0 auto 3rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
    border-top: 4px solid var(--rv-green);
}

.rv-obj-global h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue-dark);
    margin-bottom: 1rem;
}

.rv-obj-global p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin: 0;
}

/* --- Objectives grid --- */
.rv-objectives-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.rv-obj-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
}

.rv-obj-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.rv-obj-bar {
    height: 4px;
}

.rv-obj-body {
    padding: 2rem;
}

.rv-obj-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.rv-obj-body h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-blue-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.rv-obj-body p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0;
}

/* --- Hypotheses --- */
.rv-hypotheses-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.rv-hyp-card {
    border-radius: 12px;
    padding: 1.75rem 2rem;
}

.rv-hyp-card--blue {
    background: #eff6ff;
    border-left: 4px solid var(--primary-blue);
}

.rv-hyp-card--green {
    background: var(--rv-green-50);
    border-left: 4px solid var(--rv-green);
}

.rv-hyp-card--purple {
    background: var(--rv-purple-50);
    border-left: 4px solid var(--rv-purple);
}

.rv-hyp-card--red {
    background: #fef2f2;
    border-left: 4px solid var(--primary-red);
}

.rv-hyp-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.rv-hyp-card--blue h4  { color: var(--primary-blue-dark); }
.rv-hyp-card--green h4 { color: var(--rv-green-dark); }
.rv-hyp-card--purple h4 { color: var(--rv-purple-dark); }
.rv-hyp-card--red h4   { color: var(--primary-red-dark); }

.rv-hyp-card p {
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--text-light);
    margin: 0;
}

/* --- Implications --- */
.rv-implications-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

.rv-impl-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: var(--white);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.rv-impl-item:hover {
    box-shadow: var(--shadow-md);
}

.rv-impl-item i {
    color: var(--rv-green);
    margin-top: 3px;
    flex-shrink: 0;
}

.rv-impl-item span {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* --- Expertise list --- */
.rv-expertise-list {
    background: linear-gradient(135deg, var(--rv-green-50), #eff6ff);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.rv-expertise-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
}

.rv-expertise-item i {
    color: var(--rv-green);
    margin-top: 3px;
    flex-shrink: 0;
}

.rv-expertise-item span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    line-height: 1.6;
}

/* --- Model card --- */
.rv-model-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
    margin: 2.5rem 0;
}

.rv-model-card > h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue-dark);
    margin-bottom: 1.75rem;
}

.rv-model-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.rv-model-box {
    border-radius: 10px;
    padding: 1.5rem;
    border: 2px solid transparent;
}

.rv-model-box--amber {
    background: var(--rv-amber-50);
    border-color: var(--rv-amber-200);
}

.rv-model-box--yellow {
    background: var(--rv-yellow-50);
    border-color: var(--rv-yellow-200);
}

.rv-model-box--green {
    background: var(--rv-green-50);
    border-color: var(--rv-green-100);
}

.rv-model-box h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.rv-model-box--amber h4 { color: #92400e; }
.rv-model-box--yellow h4 { color: #854d0e; }
.rv-model-box--green h4 { color: var(--rv-green-dark); }

.rv-model-box ul {
    padding: 0;
}

.rv-model-box ul li {
    font-size: 0.88rem;
    color: var(--text-light);
    padding: 0.25rem 0;
    padding-left: 1rem;
    position: relative;
    line-height: 1.5;
    list-style: none;
}

.rv-model-box ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-light);
}

.rv-model-bottom {
    background: #eff6ff;
    border-radius: 10px;
    padding: 1.5rem;
}

.rv-model-bottom h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-blue-dark);
    margin-bottom: 0.75rem;
}

.rv-model-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.rv-model-label {
    font-weight: 600 !important;
    margin-bottom: 0.25rem !important;
    color: var(--text-color) !important;
    font-size: 0.9rem !important;
}

.rv-model-bottom p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.rv-model-tags {
    margin-top: 1rem !important;
    font-weight: 600 !important;
    color: var(--text-color) !important;
    font-size: 0.9rem !important;
}

.mt-1 { margin-top: 0.75rem; }
.mt-2 { margin-top: 1.25rem; }

/* --- Offers --- */
.rv-offers {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.rv-offer {
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.rv-offer--blue  { background: linear-gradient(135deg, #eff6ff, #dbeafe); }
.rv-offer--green { background: linear-gradient(135deg, var(--rv-green-50), var(--rv-green-100)); }
.rv-offer--purple { background: linear-gradient(135deg, var(--rv-purple-50), #ede9fe); }

.rv-offer-header {
    padding: 1.75rem 2.5rem;
    color: var(--white);
}

.rv-offer-header--blue   { background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark)); }
.rv-offer-header--green  { background: linear-gradient(135deg, var(--rv-green-mid), var(--rv-green-dark)); }
.rv-offer-header--purple { background: linear-gradient(135deg, var(--rv-purple), var(--rv-purple-dark)); }

.rv-offer-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    line-height: 1.3;
}

.rv-offer-body {
    padding: 2.5rem;
}

.rv-offer-body .rv-text {
    margin-bottom: 1rem;
}

.rv-offer-columns {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.rv-offer-columns h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-blue-dark);
    margin-bottom: 1rem;
}

.rv-offer-list {
    padding: 0;
}

.rv-offer-list li {
    position: relative;
    padding: 0.35rem 0 0.35rem 1.5rem;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.65;
    list-style: none;
}

.rv-offer-list li::before {
    content: '•';
    position: absolute;
    left: 0.25rem;
    color: var(--rv-green);
    font-weight: 700;
    font-size: 1.1rem;
}

.rv-offer-deliverables {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.25rem;
}

.rv-offer-deliverables h4 {
    color: var(--rv-green-dark);
}

.rv-offer-deliverables p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.rv-offer-duration {
    text-align: center;
    padding: 1.5rem;
    border-radius: 12px;
    color: var(--white);
}

.rv-offer-duration--red {
    background: var(--primary-red);
}

.rv-offer-duration p {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.rv-offer-benefits {
    border-radius: 12px;
    padding: 1.75rem;
    color: var(--white);
    margin-top: 1.5rem;
}

.rv-offer-benefits--blue { background: var(--primary-blue); }

.rv-offer-benefits h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.rv-offer-benefits ul {
    padding: 0;
}

.rv-offer-benefits ul li {
    position: relative;
    padding: 0.3rem 0 0.3rem 1.5rem;
    font-size: 0.95rem;
    list-style: none;
    line-height: 1.6;
}

.rv-offer-benefits ul li::before {
    content: '•';
    position: absolute;
    left: 0.25rem;
    font-weight: 700;
}

.rv-offer-cta-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-top: 1.5rem;
}

.rv-offer-advantages {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.rv-offer-advantages h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.rv-offer--green .rv-offer-advantages h4 { color: var(--rv-green-dark); }
.rv-offer--purple .rv-offer-advantages h4 { color: var(--rv-purple-dark); }

.rv-offer-advantages p {
    font-size: 0.92rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.rv-offer-duration-block {
    border-radius: 12px;
    padding: 1.75rem;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.rv-offer-duration-block--green  { background: var(--rv-green); }
.rv-offer-duration-block--purple { background: var(--rv-purple); }

.rv-offer-duration-block h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.rv-offer-duration-block p {
    font-size: 0.95rem;
    color: var(--white);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.rv-offer-duration-block ul {
    padding: 0;
}

.rv-offer-duration-block ul li {
    position: relative;
    padding: 0.25rem 0 0.25rem 1.5rem;
    font-size: 0.95rem;
    list-style: none;
    line-height: 1.6;
}

.rv-offer-duration-block ul li::before {
    content: '•';
    position: absolute;
    left: 0.25rem;
    font-weight: 700;
}

/* --- CTA Final --- */
.rv-cta-final {
    background: linear-gradient(135deg, var(--rv-green-dark) 0%, var(--rv-green) 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.rv-cta-final::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 45%;
    height: 160%;
    background: radial-gradient(ellipse, rgba(250,204,21,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.rv-cta-final h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--white);
    max-width: 900px;
    margin: 0 auto 1.5rem;
    line-height: 1.3;
    position: relative;
}

.rv-cta-sub {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 1rem;
    line-height: 1.6;
}

.rv-cta-slogan {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
}

.rv-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 2.5rem;
    background: var(--white);
    color: var(--rv-green-dark);
    border-radius: 10px;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    position: relative;
}

.rv-cta-btn:hover {
    background: var(--off-white);
    color: var(--rv-green-dark);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .rv-offer-columns {
        grid-template-columns: 1fr;
    }

    .rv-model-grid {
        grid-template-columns: 1fr;
    }

    .rv-model-bottom-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .rv-hero {
        padding: 5rem 0 3.5rem;
    }

    .rv-hero-title {
        font-size: 2.5rem;
    }

    .rv-hero-subtitle {
        font-size: 1.25rem;
    }

    .rv-hero-icon {
        width: 72px;
        height: 72px;
        font-size: 2.25rem;
    }

    .rv-section {
        padding: 3.5rem 0;
    }

    .rv-heading {
        font-size: 1.75rem;
    }

    .rv-benefits-grid {
        grid-template-columns: 1fr;
    }

    .rv-objectives-grid {
        grid-template-columns: 1fr;
    }

    .rv-implications-grid {
        grid-template-columns: 1fr;
    }

    .rv-offer-header h3 {
        font-size: 1.25rem;
    }

    .rv-offer-body {
        padding: 1.5rem;
    }

    .rv-model-card {
        padding: 1.5rem;
    }

    .rv-cta-final h2 {
        font-size: 1.6rem;
    }

    .rv-cta-slogan {
        font-size: 1.35rem;
    }
}

@media (max-width: 480px) {
    .rv-hero-title {
        font-size: 2rem;
    }

    .rv-callout {
        padding: 1.5rem;
    }

    .rv-offer-header {
        padding: 1.25rem 1.5rem;
    }

    .rv-offer-header h3 {
        font-size: 1.1rem;
    }
}
