/* =========================================================
PAGE SOLUTIONS
========================================================= */


/* =========================
HERO SOLUTIONS
========================= */

.solutions-hero {
padding: 150px 0 100px;
background:
radial-gradient(circle at 85% 20%, rgba(49, 92, 117, 0.12), transparent 30%),
radial-gradient(circle at 10% 80%, rgba(91, 57, 38, 0.08), transparent 32%),
var(--cream);
overflow: hidden;
}

.solutions-hero-content {
display: grid;
grid-template-columns: 1fr 0.9fr;
align-items: center;
gap: 80px;
}

.solutions-hero-text {
max-width: 650px;
}

.solutions-hero-text h1 {
font-family: var(--font-title);
font-size: clamp(42px, 5vw, 65px);
line-height: 1.08;
margin: 18px 0 25px;
color: var(--black);
}

.solutions-hero-text h1 span {
display: block;
color: var(--brown);
}

.solutions-hero-text p {
max-width: 600px;
color: var(--gray);
font-size: 17px;
line-height: 1.8;
margin-bottom: 35px;
}


/* =========================
HERO VISUAL
========================= */

.solutions-hero-visual {
min-height: 470px;
position: relative;
display: flex;
align-items: center;
justify-content: center;
}

.solution-window {
width: 440px;
height: 320px;
background: var(--white);
border-radius: 18px;
box-shadow: 0 30px 80px rgba(61, 37, 25, 0.15);
overflow: hidden;
transform: perspective(1000px) rotateY(-8deg) rotateX(3deg);
position: relative;
z-index: 2;
}

.window-top {
height: 42px;
background: #f3f0ed;
display: flex;
align-items: center;
gap: 7px;
padding: 0 16px;
}

.window-top span {
width: 9px;
height: 9px;
border-radius: 50%;
background: #d6cec7;
}

.solution-window-content {
display: flex;
height: calc(100% - 42px);
}

.window-sidebar {
width: 75px;
background: var(--brown-dark);
padding: 18px 12px;
}

.sidebar-logo {
width: 38px;
height: 38px;
background: var(--white);
color: var(--brown);
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
font-family: var(--font-title);
font-size: 12px;
font-weight: 800;
margin: 0 auto 28px;
}

.sidebar-line {
width: 100%;
height: 7px;
background: rgba(255, 255, 255, 0.18);
border-radius: 10px;
margin-bottom: 13px;
}

.sidebar-line.short {
width: 65%;
}

.window-dashboard {
flex: 1;
padding: 28px;
}

.dashboard-title {
font-family: var(--font-title);
font-size: 16px;
font-weight: 700;
margin-bottom: 22px;
}

.dashboard-cards {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 10px;
}

.dashboard-cards div {
height: 55px;
border-radius: 9px;
background: var(--blue-light);
}

.dashboard-chart {
height: 115px;
margin-top: 25px;
border-bottom: 1px solid var(--gray-light);
display: flex;
align-items: flex-end;
justify-content: space-around;
gap: 12px;
}

.chart-bar {
width: 30px;
border-radius: 6px 6px 0 0;
background: var(--brown);
}

.bar-1 {
height: 40%;
}

.bar-2 {
height: 65%;
}

.bar-3 {
height: 50%;
}

.bar-4 {
height: 85%;
}

.bar-5 {
height: 70%;
}


/* =========================
BADGES
========================= */

.solution-badge {
position: absolute;
background: var(--white);
border-radius: 12px;
padding: 13px 18px;
box-shadow: 0 15px 35px rgba(61, 37, 25, 0.12);
font-size: 12px;
font-weight: 700;
z-index: 4;
}

.badge-one {
top: 40px;
left: 0;
color: var(--brown);
}

.badge-two {
right: 0;
top: 175px;
color: var(--blue);
}

.badge-three {
left: 35px;
bottom: 50px;
color: var(--brown);
}


/* =========================
PROBLÈMES
========================= */

.solutions-problems {
padding: 110px 0;
background: var(--white);
}

.problem-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 22px;
}

.problem-card {
padding: 32px;
border: 1px solid var(--gray-light);
border-radius: var(--radius);
background: var(--white);
transition: 0.3s ease;
position: relative;
}

.problem-card:hover {
transform: translateY(-7px);
box-shadow: var(--shadow);
}

.problem-icon {
width: 48px;
height: 48px;
border-radius: 13px;
background: var(--blue-light);
color: var(--blue);
display: flex;
align-items: center;
justify-content: center;
font-family: var(--font-title);
font-size: 12px;
font-weight: 800;
margin-bottom: 25px;
}

.problem-card h3 {
font-family: var(--font-title);
font-size: 18px;
margin-bottom: 13px;
}

.problem-card p {
color: var(--gray);
font-size: 14px;
line-height: 1.7;
margin-bottom: 20px;
}

.problem-solution {
border-top: 1px solid var(--gray-light);
padding-top: 17px;
color: var(--brown);
font-size: 12px;
font-weight: 700;
}


/* =========================
LISTE DES SOLUTIONS
========================= */

.solutions-list {
padding: 110px 0;
background: var(--cream);
}

.solution-list-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 22px;
}

.solution-item {
background: var(--white);
border-radius: var(--radius);
padding: 35px;
display: flex;
gap: 30px;
border: 1px solid var(--gray-light);
transition: 0.3s ease;
}

.solution-item:hover {
transform: translateY(-6px);
box-shadow: var(--shadow);
}

.solution-item-number {
font-family: var(--font-title);
font-size: 12px;
font-weight: 800;
color: var(--brown);
min-width: 35px;
}

.solution-item-content > span {
color: var(--blue);
font-size: 10px;
font-weight: 800;
letter-spacing: 1.5px;
}

.solution-item-content h3 {
font-family: var(--font-title);
font-size: 21px;
margin: 10px 0 13px;
}

.solution-item-content p {
color: var(--gray);
font-size: 14px;
line-height: 1.7;
margin-bottom: 20px;
}

.solution-item-content a {
color: var(--brown);
font-size: 13px;
font-weight: 700;
}

.solution-item-content a:hover {
color: var(--blue);
}


/* =========================
SECTEURS
========================= */

.solutions-sectors {
padding: 110px 0;
background: var(--white);
}

.sector-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 22px;
}

.sector-card {
padding: 35px;
border-radius: var(--radius);
background: var(--cream);
border: 1px solid transparent;
transition: 0.3s ease;
}

.sector-card:hover {
background: var(--white);
border-color: var(--gray-light);
box-shadow: var(--shadow);
transform: translateY(-6px);
}

.sector-icon {
font-size: 30px;
margin-bottom: 20px;
}

.sector-card h3 {
font-family: var(--font-title);
font-size: 18px;
margin-bottom: 12px;
}

.sector-card p {
color: var(--gray);
font-size: 13px;
line-height: 1.7;
}


/* =========================
SOLUTION SUR MESURE
========================= */

.solutions-custom {
padding: 90px 0;
background: var(--white);
}

.custom-box {
min-height: 430px;
background: var(--brown);
border-radius: 28px;
padding: 65px 75px;
display: grid;
grid-template-columns: 1fr 0.7fr;
align-items: center;
gap: 60px;
overflow: hidden;
position: relative;
}

.custom-content {
position: relative;
z-index: 2;
}

.custom-content .eyebrow {
color: rgba(255, 255, 255, 0.65);
}

.custom-content h2 {
color: var(--white);
font-family: var(--font-title);
font-size: clamp(30px, 4vw, 48px);
line-height: 1.15;
margin: 15px 0 22px;
}

.custom-content h2 span {
color: #d8e8ef;
display: block;
}

.custom-content p {
max-width: 620px;
color: rgba(255, 255, 255, 0.75);
font-size: 14px;
line-height: 1.8;
margin-bottom: 30px;
}

.custom-visual {
height: 330px;
position: relative;
display: flex;
align-items: center;
justify-content: center;
}

.custom-circle {
position: absolute;
border: 1px solid rgba(255, 255, 255, 0.15);
border-radius: 50%;
}

.circle-large {
width: 330px;
height: 330px;
}

.circle-medium {
width: 230px;
height: 230px;
}

.circle-small {
width: 130px;
height: 130px;
}

.custom-ms {
width: 85px;
height: 85px;
border-radius: 24px;
background: var(--white);
color: var(--brown);
display: flex;
align-items: center;
justify-content: center;
font-family: var(--font-title);
font-size: 22px;
font-weight: 800;
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
position: relative;
z-index: 2;
}


/* =========================
RESPONSIVE
========================= */

@media (max-width: 1050px) {

.solutions-hero-content {
grid-template-columns: 1fr;
gap: 60px;
}

.solutions-hero-text {
max-width: 750px;
margin: auto;
text-align: center;
}

.solutions-hero-text p {
margin-left: auto;
margin-right: auto;
}

.solutions-hero-text .hero-actions {
justify-content: center;
}

.problem-grid {
grid-template-columns: repeat(2, 1fr);
}

.sector-grid {
grid-template-columns: repeat(2, 1fr);
}

.custom-box {
grid-template-columns: 1fr;
}

}


@media (max-width: 760px) {

.solutions-hero {
padding: 120px 0 70px;
}

.solutions-hero-text h1 {
font-size: 38px;
}

.solutions-hero-text p {
font-size: 15px;
}

.solutions-hero-visual {
min-height: 350px;
transform: scale(0.78);
margin: -20px 0;
}

.solution-window {
width: 420px;
}

.badge-one {
left: -5px;
}

.badge-two {
right: -5px;
}

.problem-grid,
.solution-list-grid,
.sector-grid {
grid-template-columns: 1fr;
}

.solutions-problems,
.solutions-list,
.solutions-sectors {
padding: 80px 0;
}

.solution-item {
padding: 28px;
gap: 18px;
}

.custom-box {
padding: 45px 28px;
}

.custom-visual {
height: 280px;
}

}


@media (max-width: 420px) {

.solutions-hero-text h1 {
font-size: 32px;
}

.solutions-hero-visual {
transform: scale(0.63);
margin: -45px 0;
}

.solution-item {
flex-direction: column;
}

.custom-content h2 {
font-size: 30px;
}

.custom-visual {
transform: scale(0.85);
}

}
.solutions-hero { padding-top: 90px; }

@media (min-width: 1051px) and (max-width: 1200px) {
  .solution-window { width: 100%; max-width: 440px; }
}

@media (max-width: 760px) {
  .solutions-hero { padding-top: 60px; }
}